When a browser requests an image identified by an img tag, it never sends a Cookie header.
A. TRUEWhich sentence describes the following regular expression match? preg_match('/^\d+(?:\.[0-9]+)?$/', $test);
A. It matches float numbers with thousand seperators.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);
B. 6When a query that is supposed to affect rows is executed as part of a transaction, and reports no affected rows, it could mean that: (Choose 2)
A. The transaction failedWhich of the following statements are FALSE?
A. SimpleXML allows removal of attributes.You want to allow your users to submit HTML code in a form, which will then be displayed as real code and not affect your page layout. Which function do you apply to the text, when displaying it? (Choose 2)
A. strip_tags()Which value will be assigned to the key 0 in this example? $foo = array(true, '0' => false, false => true);
What is the result of the following code?
define('PI', 3.14); class T { const PI = PI; } class Math { const PI = T::PI; } echo Math::PI;
A. Parse errorThe following form is loaded in a recent browser and submitted, with the second select option selected:
In the server-side PHP code to deal with the form data, what is the value of $_POST['list'] ?
A. 1What is the output of the following code?
try {
class MyException extends Exception {};
try {
throw new MyException;
}
catch (Exception $e) {
echo "1:";
throw $e;
}
catch (MyException $e) {
echo "2:";
throw $e;
}
}
catch (Exception $e) {
echo get_class($e);
}
A. A parser error, try cannot be followed by multiple catchNowadays, 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.