Zend-Technologies Zend Certified Engineer - 200-710 Exam Practice Test
Which one of the following XML declarations is NOT valid?
Correct Answer: D
Vote an answer
What types of HTTP authentication are supported by PHP? (Choose 2)
Correct Answer: A,E
Vote an answer
An object can be counted with count() and sizeof() if it ...
Correct Answer: D
Vote an answer
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):
$ dsn = 'mysql:host=localhost;dbname=exam';
$ user= 'username';
$ pass='********';
$ pdo = new PDO{$dsn, $user, $pass);
$ cmd ="SELECT* FROM users WHERE id= :id";
$ stmt = $pdo->prepare($cmd);
$ id = 3;
$ stmt->bindParam('id', $id);
$ stmt->execute();
$ stmt->bindColumn{3, $result);
$ row= $stmt->fetch(PDO::FETCH_BOUND);
Table data (table name "users" with primary key "id"):

PHP code (assume the PDO connection is correctly established):
$ dsn = 'mysql:host=localhost;dbname=exam';
$ user= 'username';
$ pass='********';
$ pdo = new PDO{$dsn, $user, $pass);
$ cmd ="SELECT* FROM users WHERE id= :id";
$ stmt = $pdo->prepare($cmd);
$ id = 3;
$ stmt->bindParam('id', $id);
$ stmt->execute();
$ stmt->bindColumn{3, $result);
$ row= $stmt->fetch(PDO::FETCH_BOUND);
Correct Answer: A
Vote an answer
What is the result of the following bitwise operation in PHP?
1 ^ 2
1 ^ 2
Correct Answer: D
Vote an answer
When tracking upload progress with sessions, the values of 2 INI settings are needed to determine the
key in $_SESSION of the upload progress data. What are the INI settings? (Choose 2)
key in $_SESSION of the upload progress data. What are the INI settings? (Choose 2)
Correct Answer: B,E
Vote an answer
What is the output of the following code?
echo 0x33,' monkeys sit on', 011, 'trees.';
echo 0x33,' monkeys sit on', 011, 'trees.';
Correct Answer: C
Vote an answer