All Exams
Login
Home
Exams
Zend
200-550
Question 6 of 223
Which of the following are valid identifiers? (Choose 3)
A.
function 4You() { }
B.
function _4You() { }
C.
function object() { }
D.
$1 = "Hello";
E.
$_1 = "Hello World";
Answer
Discussion
Correct Answer: B, C, E
Question 7 of 223
What super-global should be used to access information about uploaded files via a POST request?
A.
$_SERVER
B.
$_ENV
C.
$_POST
D.
$_FILES
E.
$_GET
Answer
Discussion
Correct Answer: D
Question 8 of 223
What is the difference between "print" and "echo"?
A.
There is no difference.
B.
Print has a return value, echo does not
C.
Echo has a return value, print does not
D.
Print buffers the output, while echo does not
E.
None of the above
Answer
Discussion
Correct Answer: B
Question 9 of 223
What is the output of the following code?
echo "1" + 2 * "0x02";
A.
1
B.
3
C.
5
D.
20
E.
7
Answer
Discussion
Correct Answer: C
Question 10 of 223
What is the result of the following bitwise operation in PHP?
1 ^ 2
A.
1
B.
3
C.
2
D.
4
E.
-1
Answer
Discussion
Correct Answer: B
Prev page
Prev
Next page
Next