Zend 200-550 Exam
Zend Certified PHP Engineer (Page 2 )

Updated On: 30-Jan-2026

What is the output of the following code?
echo '1' . (print '2') + 3;

  1. 123
  2. 213
  3. 142
  4. 214
  5. Syntax error

Answer(s): D



When a class is defined as final it:

  1. Can no longer be extended by other classes.
  2. Means methods in the class are not over-loadable.
  3. Cannot be defined as such, final is only applicable to object methods.
  4. Cannot be instantiated.

Answer(s): A



Type hinting in PHP allows the identification of the following variable types: (Choose 2)

  1. String
  2. Integer
  3. Array
  4. Any class or interface type
  5. All of the above

Answer(s): C,D



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 { }

  1. Graphics
  2. Point1
  3. Point2
  4. Point3
  5. None, the code is invalid

Answer(s): C



Which of the following code snippets is correct? (Choose 2)

  1. interface Drawable {
    abstract function draw();
    }
  2. interface Point {
    function getX();
    function getY();
    }
  3. interface Line extends Point {
    function getX2();
    function getY2();
    }
  4. interface Circle implements Point {
    function getRadius();
    }

Answer(s): B,C



Viewing page 2 of 46
Viewing questions 6 - 10 out of 223 questions



Post your Comments and Discuss Zend 200-550 exam prep with other Community members:

Join the 200-550 Discussion