The following form is loaded in a browser and submitted, with the checkbox activated:
In the server-side PHP code to deal with the form data, what is the value of $_POST['accept'] ?
A. accept
B. ok
C. true
D. on
Which of the following superglobals does not necessarily contain data from the client?
A. $_POST
B. $_SESSION
C. $_GET
D. $_SERVER
What is the output of the following code?
class Number { private $v; private static $sv = 10;
public function __construct($v) { $this->v = $v; }
public function mul() {
return static function ($x) {
return isset($this) ? $this->v*$x : self::$sv*$x;
};
}
}
$one = new Number(1);
$two = new Number(2);
$double = $two->mul();
$x = Closure::bind($double, null, 'Number');
echo $x(5);
A. 5
B. 10
C. 50
D. Fatal error
What is the output of the following code?
A. 1
B. 2
C. null
Which of the following is used to find all PHP files under a certain directory?
A. PHPIterator
B. RecursiveTreeIterator
C. RecursiveDirectoryIterator
D. SplTempFileObject
Which of the following statements is true?
A. All PHP database extensions support prepared statements
B. All PHP database extensions come with their own special helper functions to escape user data to be used in dynamic SQL queries
C. All PHP database extensions provide an OOP interface
D. All PHP database extensions appear in the output of php -m , if installed and enabled
What will be the output value of the following code?
$array = array(1,2,3);
while (list(,$v) = each($array));
var_dump(current($array));
A. bool(false)
B. int(3)
C. int(1)
D. NULL
E. Array
Which of the following functions are used to escape data within the context of HTML? (Choose 2)
A. htmlentities()
B. addslashes()
C. stripslashes()
D. strip_tags()
E. htmlspecialchars()
Which class of HTTP status codes is used for server error conditions?
A. 2XX
B. 3XX
C. 4XX
D. 5XX
Which of the following statements is NOT true?
A. Class constants are public
B. Class constants are being inherited
C. Class constants can omit initialization (default to NULL)
D. Class constants can be initialized by const
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-710 exam preparations and Zend certification application, do not hesitate to visit our Vcedump.com to find your solutions here.