200-550 Practice Questions
Zend Certified PHP Engineer
Last Update 3 days ago
Total Questions : 223
Dive into our fully updated and stable 200-550 practice test platform, featuring all the latest PHP and Zend Framework Certifications exam questions added this week. Our preparation tool is more than just a Zend study aid; it's a strategic advantage.
Our free PHP and Zend Framework Certifications practice questions crafted to reflect the domains and difficulty of the actual exam. The detailed rationales explain the 'why' behind each answer, reinforcing key concepts about 200-550. Use this test to pinpoint which areas you need to focus your study on.
What function can be used to retrieve an array of current options for a stream context?
Please provide the name of the super-global variable where all the information about cookies is available.
What is the output of the following code?
class test {
public $value = 0;
function test() {
$this->value = 1;
}
function __construct() {
$this->value = 2;
}
}
$object = new test();
echo $object->value;
Consider the following code. Which keyword should be used in the line marked with "KEYWORD" instead of "self" to make this code work as intended?
abstract class Base {
protected function __construct() {
}
public static function create() {
return new self(); // KEYWORD
}
abstract function action();
}
class Item extends Base {
public function action() { echo __CLASS__; }
}
$item = Item::create();
$item->action(); // outputs "Item"
What will the $array array contain at the end of this script?
function modifyArray (&$array)
{
foreach ($array as &$value)
{
$value = $value + 1;
}
$value = $value + 2;
}
$array = array (1, 2, 3);
modifyArray($array);
