What is the length of a string returned by: md5(rand(), TRUE);
A. Depends on the value returned by rand() function
B. 32
C. 24
D. 16
E. 64
What is the return value of the following code?
strpos("me myself and I", "m", 2)
A. 2
B. 3
C. 4
D. 0
E. 1
What is the return value of the following code: substr_compare("foobar", "bar", 3);
A. -1
B. 1
C. TRUE
D. 0
E. FALSE
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
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
How many elements does the $matches array contain after the following function call is performed? preg_match('/^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=201[0-9])/', '21st March 2014', $matches);
A. 1
B. 2
C. 3
D. 4
You need to escape special characters to use user input inside a regular expression. Which functions would you use? (Choose 2)
A. addslashes()
B. htmlentities()
C. preg_quote()
D. regex_quote()
E. quote_meta()
Which sentence describes the following regular expression match? preg_match('/^\d+(?:\.[0-9]+)?$/', $test);
A. It matches float numbers with thousand seperators.
B. It matches float numbers without thousand seperators.
C. It matches binary integer numbers.
D. It matches any string.
E. It does not match anything
You want to access the 3rd character of a string, contained in the variable $test. Which of the following possibilites work? (Choose 2)
A. echo $test(3);
B. echo $test[2];
C. echo $test(2);
D. echo $test{2};
E. echo $test{3};
What will the following function call print? printf('%010.6f', 22);
A. 22
B. 22.00
C. 022.000000
D. 22.000000
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-550 exam preparations and Zend certification application, do not hesitate to visit our Vcedump.com to find your solutions here.