Which of the below statements is equivalent to $add += $add ?
$add = $add
$add = $add +$add
$add = $add + 1
$add = $add + $add + 1
Which one of the following statements should be used to disable the use of two classes administrator and janitor?
disable_classes = “administrator, janitor”
disable_classes = class administrator, class janitor
disable_classes = class “administrator”, class “janitor”
disable_class = class “administrator”, class “janitor”
You are using sessions and session_register() to register objects. These objects are serialized automatically at the end of each PHP page and are de-serialized automatically on each of the following pages. Is this true or false?
Which of the following is not supported in PHP5?
To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?
$date = Date(“22 JUNE 2013″)
$date = new Date(“JUNE 22 2013″)
$date = DateTime(“22 JUNE 2013″)
$date = new DateTime(“22 JUNE 2013″)
Which one of the following functions will convert a string to all uppercase?
Which one of the following methods recuperates any memory consumed by a result set?
When a user confirms that he wishes to delete an entry, that entry’s URL is passed to a function which removes the entry from the ___.
The ftp_mkdir() function creates a directory on the FTP server.
Both A & B
The FTP functions are used to ....... files from file servers.
All of above
Which of the following multithreaded servers allow PHP as a plug-in?
Microsoft's Internet Information Server
O'Reilly's WebSite Pro
All of the above
which of the following is a correct declaration?
static $varb = array(1,'val',3);
static $varb = 1+(2*90);
static $varb = sqrt(81);
static $varb = new Object;
Which of the following printing construct/function accpets multiple parameters?
Which one of the following will you use to check the class of an object?
Which function is used to erase all session variables stored in the current session?
How many times can you define __autoload in a process?
as many times as needed
Which function was introduced to help automate the inclusion of class files?
Which one of the following is the correct way of declaring a namespace?
Which function is used to transform PHP’s session-handler behavior into that defined by your custom handler?
Which method scope prevents a method from being overridden by a subclass?