Free 200-550 Exam Braindumps

CORRECT TEXT
Which SPL class implements fixed-size storage?

  1. SplFixedArray

Answer(s): A



In order to create an object storage where each object would be stored only once, you may use which of the following? (Choose 2)

  1. SplFixedArray
  2. SplObjectStorage
  3. SplString
  4. spl_object_hash
  5. spl_same_object

Answer(s): B,D



What is the output of the following code?
class Base {
protected static function whoami() {
echo "Base ";
}
public static function whoareyou() {
static::whoami();
}
}
class A extends Base {
public static function test() {
Base::whoareyou();
self::whoareyou();
parent::whoareyou();

  1. :whoareyou();
    static::whoareyou();
    }
    public static function whoami() {
    echo "A ";
    }
    }
    class B extends A {
    public static function whoami() {
    echo "B ";
    }
    }
  2. :test();
  3. B B B B B
  4. Base A Base A B
  5. Base B B A B
  6. Base B A A B

Answer(s): C



Late static binding is used in PHP to:

  1. Load dynamic libraries and extensions at runtime
  2. Use caller class information provided in static method call
  3. Resolve undefined class names by automatically including needed files
  4. Find proper method to call according to the call arguments

Answer(s): B






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

200-550 Discussions & Posts