最新的Zend-Technologies Zend Certified PHP Engineer - 200-550免費考試真題

How can you determine whether a PHP script has already sent cookies to the client?

正確答案: B
What is the output of the following code?
$a = 'a'; $b = 'b';
echo isset($c) ? $a.$b.$c : ($c = 'c').'d';

正確答案: A
What is the output of the following code?
class A {
public $a = 1;
public function __construct($a) { $this->a = $a; }
public function mul() {
return function($x) {
return $this->a*$x;
};
}
}
$a = new A(2);
$a->mul = function($x) {
return $x*$x;
};
$m = $a->mul();
echo $m(3);

正確答案: D
Consider the following code. What can be said about the call to file_get_contents?
$getdata = "foo=bar";
$opts = array('http' =>
array(
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'content' => $getdata
)
); $context = stream_context_create($opts);
$result = file_get_contents('http://example.com/submit.php', false, $context);

正確答案: A
What is the output of the following code?
$a = 3;
switch ($a) { case 1: echo 'one'; break; case 2: echo 'two'; break; default: echo 'four'; break; case 3: echo 'three'; break;
}

正確答案: B
Which of the following is correct? (Choose 2)

正確答案: C,F
What is the name of the function that allows you register a set of functions that implement user-defined session handling?

正確答案: A
What parsing methodology is utilized by the SimpleXML extension?

正確答案: C
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);

正確答案: D
Which of the following parts must a XML document have in order to be well-formed?

正確答案: C

聯系我們

如果您有任何問題,請留下您的電子郵件地址,我們將在12小時內回复電子郵件給您。

我們的工作時間:( GMT 0:00-15:00 )
週一至週六

技術支持: 立即聯繫 

English 日本語 Deutsch 한국어