Summer Certification Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = getmirror

Pass the Zend ZCE 200-710 Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam 200-710 Premium Access

View all detail and faqs for the 200-710 exam


803 Students Passed

93% Average Score

94% Same Questions
Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

What will the following function call print?

Question # 11

Options:

A.

22

B.

22.00

C.

022.000000

D.

22.000000

Questions # 12:

What Content-Type HTTP header value is required when sending an HTTP POST request using JavaScript to ensure that PHP can access the data?

Options:

A.

application/x-www-form-urlencoded

B.

http/post

C.

text/html

D.

object/multipart-formdata

Questions # 13:

An HTML form contains this form element:

Question # 13

When this form is submitted, the following PHP code gets executed:

Question # 13

Which of the following actions must be taken before this code may go into production? (Choose two.)

Options:

A.

Check with is_uploaded_file() whether the uploaded file $_FILES[‘myFile’][‘tmp_name’] is valid.

B.

Sanitize the file name in $_FILES[‘myFile’][‘name’] because this value is not consistent among web browsers.

C.

Check the charset encoding of the HTTP request to see whether it matches the encoding of the uploaded file.

D.

Sanitize the file name in $_FILES[‘myFile’][‘ name’] because this value could be forged.

E.

Use $HTTP_POST_FILES instead of $_FILES to maintain upwards compatibility.

Questions # 14:

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

Options:

A.

ob_start()

B.

set_write_buffer()

C.

stream_set_write_buffer()

D.

Change the output_buffering INI setting via ini_set() function

Questions # 15:

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

Options:

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

Questions # 16:

Which options do you have in PHP to set the expiry date of a session?

Options:

A.

Set the session.duration directive in php.ini

B.

Set session cookie expiry date locally via session_set_cookie_params()

C.

Set session expiry date locally via session_cache_expire()

D.

None of the above

Questions # 17:

Given a DateTime object that is set to the first second of the year 2017, which of the following samples will correctly return a date in the format ‘2017-01-01 00:00:01’?

Options:

A.

$datetime->format(‘%Y-%m-%d %h:%i:%s’)

B.

$datetime->format(‘%Y-%m-%d %h:%i:%s’, array(‘year’, ‘month’, ‘day’, ‘hour’, ‘minute’, ‘second’))

C.

$datetime->format(‘Y-m-d H:i:s’)

D.

$date = date(“Y-m-d H:i:s’, $datetime);

Questions # 18:

What is the output of the following code?

Question # 18

Options:

A.

1

B.

2

C.

null

Questions # 19:

Which of the following is NOT true about PHP traits? (Choose two.)

Options:

A.

Multiple traits can be used by a single class

B.

A trait can implement an interface

C.

A trait can declare a private variable.

D.

Traits are able to be auto-loaded.

E.

Traits automatically resolve conflicts based on definition order.

Questions # 20:

What is the output of the following code?

Question # 20

Options:

A.

1

B.

3

C.

5

D.

20

E.

7

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.