Which of the following keywords is not new in PHP 5?
What is the name of the key in $_FILES['name'] that contains the number of bytes of the uploaded file?
What is the output of the following code?
What is the result of the following code?
A script residing at http://example.com/phpcert/cookies.php contains the following code:
1 <?php
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?
Do constants have global scope or local scope?
After performing the following operations:
$a = array('a', 'b', 'c');
$a = array_keys(array_flip($a));
What will be the value of $a?
Given the following code, what will be the value of $a?
$a = array('a', 'b');
array_push($a, array(1, 2));
An HTML form contains this form element:
<input type="image" name="myImage" src="image.png" />
The user clicks on the image to submit the form. How can you now access the relative coordinates of the mouse click?
Consider the following two files. When you run test.php, what would the output look like?