Zend 200-550 - Zend Certified PHP Engineer
Before the headers are sent, how can you remove a previously set header?
What is the output of the following code?
$first = "second";
$second = "first";
echo $$$first;
What is the name of the header used to require HTTP authentication?
In the following code, which classes can be instantiated?
abstract class Graphics {
abstract function draw($im, $col);
}
abstract class Point1 extends Graphics {
public $x, $y;
function __construct($x, $y) {
$this->x = $x;
$this->y = $y;
}
function draw($im, $col) {
ImageSetPixel($im, $this->x, $this->y, $col);
}
}
class Point2 extends Point1 { }
abstract class Point3 extends Point2 { }
Which value will be assigned to the key 0 in this example?
$foo = array(true, '0' => false, false => true);
An HTML form contains this form element:
When this form is submitted, the following PHP code gets executed:
move_uploaded_file(
$_FILES['myFile']['tmp_name'],
'uploads/' . $_FILES['myFile']['name']
);
Which of the following actions must be taken before this code may go into production? (Choose 2)
Which of the following expressions will evaluate to a random value from an array below?
$array = array("Sue","Mary","John","Anna");
Which of the following can be registered as entry points with a SoapServer instance (choose 2):
Which of the following statements about Reflection is correct?
Your application uses PHP to accept and process file uploads. It fails to upload a file that is 5 MB in size, although upload_max_filesize is set to "10M". Which of the following configurations could be responsible for this outcome? (Choose 2)