Which of the following functions will allow identifying unique values inside an array?
A. array_unique_values
B. array_distinct
C. array_count_values
D. array_intersect
E. array_values
SimpleXML provides the ability to iterate over items in an XML document, as well as access items within it as if they were object properties. When creating your own classes to access data, implementing which of the following would NOT achieve this goal?
A. __toString
B. Iterator
C. __get/__set
D. ArrayAccess
What parsing methodology is utilized by the SimpleXML extension?
A. SAX
B. DOM
C. XPath
D. Push/Pull Approach
E. Expat
What function is best suited for extracting data from a formatted string into an array?
A. fgetcsv
B. sscanf
C. sprintf
D. strtok
When uploading a file to a PHP script using the HTTP PUT method, where would the file data be found?
A. the $_FILES super-global
B. the input stream php://input
C. the $_POST super-global
D. the global variable scope
Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?
A. $_GET['ALL']
B. $_SERVER['QUERY']
C. $_SERVER['QUERY_STRING']
D. $_ENV['QUERY']
E. $QUERY_STRING
Which interfaces could class C implement in order to allow each statement in the following code to work? (Choose 2)
$obj = new C();
foreach ($obj as $x => $y) {
echo $x, $y;
}
A. Iterator
B. ArrayAccess
C. IteratorAggregate
D. ArrayObject
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;
}
A. one
B. two
C. three
D. four
How many elements does the array $matches from the following code contain?
$str = "The cat sat on the roof of their house.";
$matches = preg_split("/(the)/i", $str, -1, PREG_SPLIT_DELIM_CAPTURE);
A. 2
B. 3
C. 4
D. 7
E. 9
What is cached by an opcode cache?
A. Compiled PHP code
B. Native PHP extensions
C. Data sent to the client
D. Data received from the database
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.