200-710

Review 85 200-710 practice questions with answer explanations and community insights.

Question 1

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

  1. 12,12
  2. 12,24
  3. 24,12
  4. 24,24
  5. PHP Fatal error: Cannot redeclare strlen()

Question 2

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

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

Question 3

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

  1. xpathQuery()
  2. xpath()
  3. simpleXMLXpath()
  4. query()
  5. evaluate()

Question 4

What function allows resizing of PHP’s file write buffer?

  1. ob_start()
  2. set_write_buffer()
  3. stream_set_write_buffer()
  4. Change the output_buffering INI setting via ini_set() function

Question 5

Youd like to use the class MyDBConnection thats 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?

  1. Import the MyGreatFramework namespace
  2. Import the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace
  3. Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer\MyDBConnection to a shorter name
  4. Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer to a shorter name
We are moving to a new platform

CertificationTest is being migrated. Some pages may be slow or briefly unavailable; everything will be back to normal within a few hours. If you run into any issue, email support@certificationtest.net.