Zend-Technologies 200-710 Actual Free Exam Questions & Community Discussion
Which of these elements can be encapsulated by namespaces and made accessible from the outside?
Correct Answer: C
Vote an answer
Which of the following is NOT true about PHP traits? (Choose 2)
Correct Answer: B,E
Vote an answer
Your supervisor wants you to disallow PHP scripts to open remote HTTP and FTP resources using PHP's
file functions. Which php.ini setting should you change accordingly?
file functions. Which php.ini setting should you change accordingly?
Correct Answer:
allow_url_fopen=off, allow_url_fopen=Off,
Which of the following parts must a XML document have in order to be well-formed?
Correct Answer: D
Vote an answer
What will the following code print out?
$ str = '✔ one of the following';
echo str_replace('&#l0004;', 'Check', $str);
$ str = '✔ one of the following';
echo str_replace('&#l0004;', 'Check', $str);
Correct Answer: B
Vote an answer
What is the output of the following code?
function ratio ($xl = 10, $x2)
{
}
if (isset ($x2)) {
return $x2 / $xl;
echo ratio (0);
function ratio ($xl = 10, $x2)
{
}
if (isset ($x2)) {
return $x2 / $xl;
echo ratio (0);
Correct Answer: D
Vote an answer
What exception type will catch the error raised by the expression 2 / 0?
Correct Answer: A
Vote an answer
What is the output of the following code?
function z($x) {
return function ($y) use ($x) {
return str_repeat($y, $x);
};
$ a== z(2);
$ b = z(3);
echo $a(3) . $b(2);
function z($x) {
return function ($y) use ($x) {
return str_repeat($y, $x);
};
$ a== z(2);
$ b = z(3);
echo $a(3) . $b(2);
Correct Answer: A
Vote an answer
How do you allow the caller to submit a variable number of arguments to a function?
Correct Answer: A
Vote an answer
Which of the following statements about PHP is false? (Choose 2)
Correct Answer: A,C
Vote an answer
0
0
0
10

