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

Pass the Zend PHP and Zend Framework Certifications 200-550 Questions and answers with ExamsMirror

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

View all detail and faqs for the 200-550 exam


766 Students Passed

84% Average Score

98% Same Questions
Viewing page 4 out of 7 pages
Viewing questions 31-40 out of questions
Questions # 31:

Which sentence describes the following regular expression match?

preg_match('/^\d+(?:\.[0-9]+)?$/', $test);

Options:

A.

It matches float numbers with thousand seperators.

B.

It matches float numbers without thousand seperators.

C.

It matches binary integer numbers.

D.

It matches any string.

E.

It does not match anything

Questions # 32:

What is the output of the following code?

function increment ($val)

{

++$val;

}

$val = 1;

increment ($val);

echo $val;

Options:

Questions # 33:

What is the output of the following code?

var_dump(boolval([]));

Options:

A.

bool(true)

B.

bool(false)

Questions # 34:

Under what condition may HTTP headers be set from PHP if there is content echoed prior to the header function being used?

Options:

A.

headers_sent() returns true

B.

Output buffering is enabled

C.

The client supports local buffering

D.

The webserver uses preemptive mode

Questions # 35:

You want to parse a URL into its single parts. Which function do you choose?

Options:

A.

parse_url()

B.

url_parse()

C.

get_url_parts()

D.

geturlparts()

Questions # 36:

Which php.ini setting is usually required to use an opcode cache?

Options:

A.

extension

B.

zend_extension

C.

optimizer

D.

dl

Questions # 37:

Please provide the name of the super-global variable where all the information about cookies is available.

Options:

Questions # 38:

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 # 39:

The constructs for(), foreach(), and each() can all be used to iterate an object if the object...

Options:

A.

implements ArrayAccess

B.

implements Iterator

C.

implements Iterator and ArrayAccess

D.

None of the above

Questions # 40:

Is the following code vulnerable to SQL Injection ($mysqli is an instance of the MySQLi class)?

$age = $mysqli->real_escape_string($_GET['age']);

$name = $mysqli->real_escape_string($_GET['name']);

$query = "SELECT * FROM `table` WHERE name LIKE '$name' AND age = $age";

$results = $mysqli->query($query);

Options:

A.

No, the code is fully protected from SQL Injection.

B.

Yes, because the $name variable is improperly escaped.

C.

Yes, because the $name variable and the $age variable is improperly escaped.

D.

Yes, because the $age variable is improperly escaped.

E.

Yes, because you cannot prevent SQL Injection when using MySQLi

Viewing page 4 out of 7 pages
Viewing questions 31-40 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.