Free 200-500 – Zend PHP 5 Certification Practice Test Question

Free demo downloads

Loading demo links...

Showing 7–9 of 15 questions

Question 7 (Volume D)

How can a PHP extension be loaded? (Choose 2)

Select all that apply, then click Submit answer.

  • ○

    ini_set("extension", "extension.so");

  • ○

    dl("extension.so");

  • ○

    extension_load("extension.so");

  • ○

    extension=extension.so inside php.ini


Question 8 (Volume D)

What is the ideal method of copying data between two opened files?

Select an option, then click Submit answer.

  • ○

    copy($source_file, $destination_file);

  • ○

    copy(destination_file, $source_file);

  • ○

    stream_copy_to_stream($source_file, $destination_file);

  • ○

    stream_copy_to_stream($destination_file, $source_file);

  • ○

    stream_bucket_prepend($source_file, $destination_file);


Question 9 (Volume D)

What is the name of the method that can be used to provide read access to virtual properties in a class?

Select an option, then click Submit answer.

  • ○

    __call()

  • ○

    __get()

  • ○

    __set()

  • ○

    __wakeup()

  • ○

    __fetch()