Which of the following are NOT acceptable ways to create a secure password hash in PHP? (Choose 2)
A. md5()How many elements does the $matches array contain after the following function call is performed? preg_match('/^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=201[0-9])/', '21st March 2014', $matches);
A. 1Your public web application needs to provide access to binary files for registered users only. How would you achieve this?
A. Host the files on a public external file sharing service.Which php.ini setting is usually required to use an opcode cache?
A. extensionWhich function can NOT help prevent cross-site scripting? (Choose 2)
A. addslashes()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)What is the result of the following bitwise operation in PHP? 1 ^ 2
A. 1What parsing methodology is utilized by the SimpleXML extension?
A. SAXWhen using password_hash() with the PASSWORD_DEFAULT algorithm constant, which of the following is true? (Choose 2)
A. The algorithm that is used for hashing passwords can change when PHP is upgraded.In the following code, which line should be changed so it outputs the number 2:
class A {
protected $x = array(); /* A */
public function getX() { /* B */
return $this->x; /* C */
}
}
$a = new A(); /* D */
array_push($a->getX(), "one");
array_push($a->getX(), "two");
echo count($a->getX());
A. No changes needed, the code would output 2 as isNowadays, 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.