Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Zend > Zend Certifications > 200-710 > 200-710 Online Practice Questions and Answers

200-710 Online Practice Questions and Answers

Questions 4

What is the output of the following code?

for ($i = 0; $i < 1.02; $i += 0.17) {

$a[$i] = $i;

}

echo count($a);

A. 0

B. 1

C. 2

D. 6

E. 7

Buy Now

Correct Answer: B

Questions 5

Which of these error types may be handled by a user defined error handler function? (Choose two.)

A. E_ERROR

B. E_NOTICE

C. E_PARSE

D. E_WARNING

Buy Now

Correct Answer: AC

Questions 6

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

A. String

B. Integer

C. Array

D. Any class or interface type

E. All of the above

Buy Now

Correct Answer: CD

Questions 7

Which of the following are valid identifiers? (Choose 3)

A. function 4You() { }

B. function _4You() { }

C. function object() { }

D. $1 = "Hello";

E. $_1 = "Hello World";

Buy Now

Correct Answer: BCE

Questions 8

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

test.php:

include "MyString.php";

print ",";

print strlen("Hello world!");

MyString.php:

namespace MyFramework\String;

function strlen($str)

{

return \strlen($str)*2; // return double the string length

}

print strlen("Hello world!")

A. 12,12

B. 12,24

C. 24,12

D. 24,24

E. PHP Fatal error: Cannot redeclare strlen()

Buy Now

Correct Answer: C

Questions 9

What is the output of the following code?

$a = 3; switch ($a) {

case 1: echo 'one'; break;

case 2: echo 'two'; break;

default: echo 'four'; break;

case 3: echo 'three'; break;

}

A. one

B. two

C. three

D. four

Buy Now

Correct Answer: C

Questions 10

When uploading a file to a PHP script using the HTTP PUT method, where would the file data be found?

A. the $_FILES super-global

B. the input stream php://input

C. the $_POST super-global

D. the global variable scope

Buy Now

Correct Answer: B

Questions 11

Given the following DateTime objects, what can you use to compare the two dates and indicate that $date2 is the later of the two dates?

$date1 = new DateTime('2014-02-03');

$date2 = new DateTime('2014-03-02');

A. $date2 > $date1

B. $date2 < $date1

C. $date1->diff($date2) < 0

D. $date1->diff($date2) > 0

Buy Now

Correct Answer: A

Questions 12

Which of the following is correct? (Choose 2)

A. A class can extend more than one class.

B. A class can implement more than one class.

C. A class can extend more than one interface.

D. A class can implement more than one interface.

E. An interface can extend more than one interface.

F. An interface can implement more than one interface.

Buy Now

Correct Answer: DE

Questions 13

An HTML form has two submit buttons. After submitting the form, how can you determine with PHP which button was clicked?

A. An HTML form may only have one button.

B. You cannot determine this with PHP only. You must use JavaScript to add a value to the URL depending on which button has been clicked.

C. Put the two buttons in different forms, but make sure they have the same name.

D. Assign name and value attributes to each button and use $_GET or $_POST to find out which button has been clicked.

Buy Now

Correct Answer: D

Exam Code: 200-710
Exam Name: Zend Certified Engineer
Last Update: Jun 09, 2025
Questions: 233

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2025 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.