Free Zend Certified Engineer Exam 200-710 Exam Practice Test

UNLOCK FULL
200-710 Exam Features
In Just $59 You can Access
  • All Official Question Types
  • Interactive Web-Based Practice Test Software
  • No Installation or 3rd Party Software Required
  • Customize your practice sessions (Free Demo)
  • 24/7 Customer Support
Page: 1 / 47
Total Questions: 232
  • What is the output of the following code? var_dump(boolval([]));

    Answer: B Next Question
  • Consider the following table data and PHP code, and assume that the database supports transactions. What is the outcome?Table data (table name "users" with primary key "id"):idnameemail1annaalpha@example.com2bettybeta@example.org3claragamma@example.net5suesigma@example.infoPHP code (assume the PDO connection is correctly established):$dsn = 'mysql:host=localhost;dbname=exam';$user = 'username';$pass = '********';$pdo = new PDO($dsn, $user, $pass);try {$pdo->exec("INSERT INTO users (id, name, email) VALUES (6, 'bill', 'delta@example.com')");$pdo->begin();$pdo->exec("INSERT INTO users (id, name, email) VALUES (7, 'john','epsilon@example.com')");throw new Exception();} catch (Exception $e) {$pdo->rollBack();}

    Answer: A Next Question
  • Which technique should be used to speed up joins without changing their results?

    Answer: A Next Question
  • What will be the output value of the following code?$array = array(1,2,3);while (list(,$v) = each($array)); var_dump(current($array));

    Answer: A Next Question
  • How can you determine whether a PHP script has already sent cookies to the client?

    Answer: C Next Question
  • Please provide the name of the super-global variable where all the information about cookies is available.

      Answer: $,_,C,O,O,K,I,E Next Question
    • Which of the following tasks can be achieved by using magic methods? (Choose 3)

      Answer: A, ,D, ,F Next Question
    • Which of the following parts must a XML document have in order to be well-formed?

      Answer: B Next Question
    • What is the result of the following code? class T{const A = 42 + 1;}echo T::A;

      Answer: C Next Question
    • What is the output of the following code? function append($str){$str = $str.'append';}function prepend(&$str){$str = 'prepend'.$str;}$string = 'zce'; append(prepend($string)); echo $string;

      Answer: C Next Question
    Page: 1 / 47
    Total Questions: 232