Which of the following statements are NOT true?
Which options do you have in PHP to set the expiry date of a session?
What is the return value of the following code?
strpos("me myself and I", "m", 2)
Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by value in PHP 4?
You want to run the following PHP 4 code with PHP 5. In the following example, which access modifier in PHP 5 is equivalent to "var"?
class Test {
var $tester;
}
A script residing at http://example.com/phpcert/cookies.php contains the following code:
1
2 setcookie('name1', 'value1', time() + 60*60*24, '/');
3 setcookie('name1', 'value2');
4 ?>
The web browser is configured to accept all cookies. How many cookies will be set by this script?
The following form is loaded in a browser and submitted, with the checkbox activated:
What function should be used to escape command line arguments that are passed to commands executed from PHP?
Which constant must be passed as the second argument to htmlentities() to convert single quotes (') to HTML entities?
Type hinting in PHP allows the identification of the following variable types: (Choose 2)