What will an opcode cache ALWAYS automatically improve?
A. Running time of a loop in a PHP script
B. Efficiency of HTML markup generated by a PHP script
C. Execution speed of a PHP script
D. Memory footprint of a PHP script
E. None of the above
Which one of the following XML declarations is NOT valid?
A.
B.
C.
D.
What will be the result of the following operation? array_combine(array("A","B","C"), array(1,2,3));
A. array("A","B","C",1,2,3)
B. array(1,2,3,"A","B",C")
C. array("A"=>1,"B"=>2,"C"=>3)
D. array(1=>"A",2=>"B",3=>"C")
E. array(1,2,3)
What is the output of this code?
$world = 'world';
echo <<<'TEXT'
hello $world
TEXT;
A. hello world
B. hello $world
C. PHP Parser error
What function can reverse the order of values in an array so that keys are preserved?
A. array_flip()
B. array_reverse()
C. rsort()
D. krsort()
E. array_multisort()
Which of the following is true about stream contexts? (Choose 2)
A. A context can modify or enhance the behavior of a stream
B. A context indicates what session the stream is part of
C. A context is a set of parameters and stream wrapper specific options
D. Contexts are created with new Stream_Context();
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. A GET request will be performed on http://example.com/submit.php
B. A POST request will be performed on http://example.com/submit.php
C. An error will be displayed
What DOM method is used to load HTML files?
A. load()
B. loadXML()
C. loadHTML()
D. loadHTMLFile()
Given the following code, what is correct?
function f(stdClass and$x = NULL) { $x = 42; }
$z = new stdClass;
f($z);
var_dump($z);
A. Error: Typehints cannot be NULL
B. Error: Typehints cannot be references
C. Result is NULL
D. Result is object of type stdClass
E. Result is 42
What is "instanceof" an example of?
A. a boolean
B. an operator
C. a function
D. a language construct
E. a class magic
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Zend exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 200-710 exam preparations and Zend certification application, do not hesitate to visit our Vcedump.com to find your solutions here.