What functions count elements in an array?
What is the description of Error level E_ERROR?
Fatal run-time error
Fatal Compile-time error
What does PHP stand for?
i) Personal Home Page
ii) Hypertext Preprocessor
iii) Pretext Hypertext Processor
iv) Preprocessor Home Page
Both i) and iii)
Both ii) and iv)
Both i) and ii)
The extent to which proximate procedures are related to one another is known as…
Since which version of PHP was the directive max_file_limit available.
Suppose all web material is located within the directory /home/www. To prevent users from viewing and manipulating files such as /etc/password, which one of the following statements should you use?
open_dir = “/home/www/”
open_dir = /home/www/
open_basedir = /home/www/
open_basedir = “/home/www/”
Which one of the following statements is true for require() and require_once()?
They are functions.
They are statements.
They’ll not work if the () is not present.
They can not be used to require files.
If the directive session.cookie_lifetime is set to 3600, the cookie will live until..
the browser is restarted
What is the difference between stat() and fstat()?
While stat() works on open file pointers, fstat() works on files specified by
While fstat() works on open file pointers, stat() works on files specified by
fstat() has nothing to do with files
stat() has nothing to do with files
fstat() is an alias of stat()
Which one of the following statements should be used to include a file?
In a class diagram the class is divided into three sections, what is displayed in the first section?
Which one of the following is the right description for the method getMessage() ?
Returns the message if it is passed to the constructor.
Returns the message if it is passed to the class.
Returns the message if it is passed to the file.
Returns the message if it is passed to the object.
The session_start() function must appear..
after the html tag
after the body tag
before the body tag
before the html tag
Can joins be nested?
Which one of the following function returns the port number of a specified service?
Which symbol is used to declare nested namespaces?
Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query?
Which keyword is used to refer to properties or methods within the class itself?
Which parameter determines whether the old session file will also be deleted when the session ID is regenerated?
Which of the following network transports doesn’t PHP support?
Which one of the following should not be used while sending passwords or other sensitive information?
Which one of the following functions finds the last occurrence of a string, returning its numerical position?
If you want to temporarily store uploaded files in the /tmp/phpuploads/ directory, which one of the following statement will you use?
upload_tmp_dir “/tmp/phpuploads/ directory”
upload_dir “/tmp/phpuploads/ directory”
upload_temp_dir “/tmp/phpuploads/ directory”
upload_temp_director “/tmp/phpuploads/ directory”
Which one of the following is not a preg PHP function?
Which of the following printing construct/function accpets multiple parameters?
All of the above
In mail($param2, $param2, $param3, $param4), the $param2 contains:
Which one of the following methods in the exception class, is used to get a nested exception object?
How many error levels are available in PHP?
Which keyword is used to put a stop on inheritance?
Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console?