Exam style questions across every 200-550 domain
Last Update 3 days ago
Total Questions : 223
Start with our free 200-550 practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real PHP and Zend Framework Certifications exam. Each 200-550 exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Zend weak domains, see where you're losing marks, and build a focused study plan in minutes.
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);
