Zend PHP 5.3 Certification
Last Update May 14, 2024
Total Questions : 254
We are offering FREE 200-530 Zend exam questions. All you do is to just go and sign up. Give your details, prepare 200-530 free exam questions and then go for complete pool of Zend PHP 5.3 Certification test questions that will help you more.
How can the line on which HTTP headers were sent inside a script be determined?
Consider the following table data and PHP code. What is the outcome?
Table data (table name "users" with primary key "Id"):
PHP code (assume the PDO connection is correctly established):
What is the output of the following code?
try {
class MyException extends Exception {};
try {
throw new MyException;
}
catch (Exception $e) {
echo "1:";
throw $e;
}c
atch (MyException $e) {
echo "2:";
throw $e;
}}
catch (Exception $e) {
echo get_class($e);
}
When retrieving data from URLs, what are valid ways to make sure all file_get_contents calls send a certain user agent string? (Choose 2)
What is the return value of the following code?
strpos("me myself and I", "m", 2)
Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?
Given the following DateTime objects, what can you use to compare the two dates and indicate that $date2 is the later of the two dates?
Under which circumstances is the $_SESSION super-global available? (Choose 2)
Which of the following statements about Reflection are correct? (Choose 2)
You want to access the 3rd character of a string, contained in the variable $test. Which of the following possibilities work?(Choose 2)
What happens if you try to access a property whose name is defined in a parent class as private, and is not declared in the current class?
Which of the following rules must every correct XML document adhere to? (Choose 2)
Which of the following statements about database connections are commonly true? (Choose 2)
What function should be used to escape command line arguments that are passed to commands executed from PHP?
Which DOMElement property provides a reference to the list of Element's children?
You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see what it does and use the following function call:
strcasecmp('hello my dear!', 'Hello my DEAR!');
The function call returns "0". What does that mean?
Is the following code piece E_STRICT compliant?
final class Testing {
var $test = 0;
public function tester() {
return "Tested!";
}}
Is the following code piece E_STRICT compliant?
final class Testing {
private $test;
public function tester() {
return "Tested!";
}}
Which sentence describes the following regular expression match?
preg_match('/^\d*(?:\.[0-9]+)?$/', $test);
Which string will be returned by the following function call?
$test = '/etc/conf.d/wireless';
substr($test, strrpos($test, '/'));
An HTML form has two buttons. After submitting the form, how could you determine with PHP which button was clicked?
Which of the following did not result in an output error in PHP 4 but does in PHP 5?
What is the difference between isset() and other is_*() functions (is_alpha(), is_number(), etc.)?
What function is used to retrieve all available information about a symbolic link?
What is the best way to run PHP 4 and PHP 5 side-by-side on the same Apache server?
Given the following code, what is correct?
function f(stdClass &$x = NULL) { $x = 42;
}
$z = new stdClass;
f($z);
var_dump($z);