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

Pass the Zend Certification 200-500 Questions and answers with ExamsMirror

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

View all detail and faqs for the 200-500 exam


841 Students Passed

87% Average Score

90% Same Questions
Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions
Questions # 41:

What will the $array array contain at the end of this script?

1 <?php

2 function modifyArray (&$array)

3 {

4 foreach ($array as &$value)

5 {

6 $value = $value + 1;

7 }

8

9 $value = $value + 2;

10 }

11

12 $array = array (1, 2, 3);

13 modifyArray($array);

14 ?>

Options:

A.

2, 3, 4

B.

2, 3, 6

C.

4, 5, 6

D.

1, 2, 3

Questions # 42:

Consider the following XML code:

PHP 5 Power Programming

Learning PHP 5

Which of the following SimpleXML calls print the name of the second book?

(Let $xml=simplexml_load_file("books.xml");) (Choose 2)

Options:

A.

echo $xml->books->book[2];

B.

echo $xml->books->book[1];

C.

echo $xml->book[1];

D.

echo $xml->xpath("/books/book[@id=2]");

E.

$c = $xml->children(); echo $c[1];

Questions # 43:

What does the chown() function do?

Options:

A.

Change the file permissions.

B.

Change the owner of the file.

C.

Change the group of the file.

D.

Checks if the file is accessible.

Questions # 44:

When comparing prepared statements and regular, application-constructed SQL statements, which of the following is true?

Options:

A.

Prepared statements are faster

B.

Prepared statements are always shorter

C.

Prepared statements are more secure

D.

Prepared statements are easier to develop

E.

None of the above

Questions # 45:

What SimpleXML function is used to parse a file?

Options:

A.

simplexml_load_file()

B.

simplexml_load_string()

C.

load()

D.

loadFile()

E.

loadXML()

F.

None of the above.

Questions # 46:

Which of the following parts must a XML document have in order to be well-formed?

Options:

A.

An XML declaration

B.

A root element

C.

A specified encoding

D.

A reference to either a DTD or an XML schema definition

Questions # 47:

What is the length of a string returned by: md5(rand(), TRUE);

Options:

A.

Depends on the value returned by rand() function

B.

32

C.

24

D.

16

E.

64

Questions # 48:

An object can be counted with count() and sizeof() if it

Options:

A.

implements ArrayAccess

B.

has a public __count() method

C.

was cast to an object from an array

D.

None of the above

Questions # 49:

What is the file locking mode that should be used when writing to a file?

Options:

A.

LOCK_UN

B.

LOCK_SH

C.

LOCK_EX

D.

LOCK_NB

Questions # 50:

Which of the following may be used in conjunction with CASE inside a SWITCH statement?

Options:

A.

A scalar

B.

An expression

C.

A boolean

D.

All of the above

Viewing page 5 out of 7 pages
Viewing questions 41-50 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.