Zend 200-710 - Zend Certified Engineer Exam

Page:    1 / 18   
Total 87 questions

Consider the following two files. When you run test.php, what would the output look like?


  • A. 12,12
  • B. 12,24
  • C. 24,12
  • D. 24,24
  • E. PHP Fatal error: Cannot redeclare strlen()


Answer : C

What is the difference between the spaceship operator (<=>) and the strcmp() function?

  • A. There is no difference in functionality
  • B. strcmp() returns a Boolean value, the spaceship operator a number
  • C. strcmp() does a case-intensive comparison, the spaceship operator does not
  • D. The spaceship operator returns -1, 0 or 1; strcmp() may return any integer


Answer : D

What is the method used to execute XPath queries in the SimpleXML extension?

  • A. xpathQuery()
  • B. xpath()
  • C. simpleXMLXpath()
  • D. query()
  • E. evaluate()


Answer : B

What function allows resizing of PHP"™s file write buffer?

  • A. ob_start()
  • B. set_write_buffer()
  • C. stream_set_write_buffer()
  • D. Change the output_buffering INI setting via ini_set() function


Answer : C

You"™d like to use the class MyDBConnection that"™s defined in the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace, but you want to minimize
*as much as possible* the length of the class name you have to type. What would you do?

  • A. Import the MyGreatFramework namespace
  • B. Import the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace
  • C. Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer\MyDBConnection to a shorter name
  • D. Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer to a shorter name


Answer : B

Page:    1 / 18   
Total 87 questions