Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Zend 200-500 Practice Exam with Questions & Answers

Questions 1

The following form is loaded in a browser and submitted, with the checkbox activated:

<form method="post">

<input type="checkbox" name="accept">

<form>

In the server-side PHP code to deal with the form data, what is the value of $_POST['accept']?

Options:
A.

accept

B.

ok

C.

true

D.

on

Zend 200-500 Premium Access
Questions 2

An HTML form contains this form element:

<input type="image" name="myImage" src="image.png" />

The user clicks on the image to submit the form. How can you now access the relative coordinates of the mouse click?

Options:
A.

$_IMAGE['myImage']['x'] and $_IMAGE['myImage']['y']

B.

$_POST['myImage']['x'] and $_POST['myImage']['x']

C.

$_POST['myImage.x'] and $_POST['myImage.y']

D.

$_POST['myImage_x'] and $_POST['myImage_y']

Questions 3

When checking whether two English words are pronounced alike, which function should be used for the best possible result?

Options:
A.

levenshtein()

B.

metaphone()

C.

similar_text()

D.

soundex()

Questions 4

A script residing at http://example.com/phpcert/cookies.php contains the following code:

1

2 setcookie('name1', 'value1', time() + 60*60*24, '/');

3 setcookie('name1', 'value2');

4 ?>

The web browser is configured to accept all cookies. How many cookies will be set by this script?

Options:
A.

0

B.

1

C.

2

D.

3

Questions 5

You want to run the following PHP 4 code with PHP 5. In the following example, which access modifier in PHP 5 is equivalent to "var"?

class Test {

var $tester;

}

Options:
A.

protected

B.

invisible

C.

public

D.

private

E.

outofscope

Questions 6

What function is used to retrieve all available information about a symbolic link?

Options:
A.

symlink()

B.

stat()

C.

fstat()

D.

lstat()

E.

readlink()

Questions 7

Which of the following statements is NOT true?

a) Class constants are public

b) Class constants are being inherited

c) Class constants can omit initialization (default to NULL)

d) Class constants can be initialized by consts

Options:
A.

a)

B.

b)

C.

c)

D.

d)

Questions 8

What is the content of $c after the following code has executed?

$a = 2;

$b = 3;

$c = ($a++ * ++$b);

Options:
A.

0

B.

5

C.

8

D.

4

Questions 9

Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?

Options:
A.

Strip all occurrences of the string script.

B.

Strip all occurrences of the string javascript.

C.

Enable magic_quotes_gpc.

D.

None of the above.

Questions 10

When working with the MVC paradigma, the business logic should be implemented in which of the following components?

Options:
A.

Model

B.

View

C.

Controller

Exam Code: 200-500
Certification Provider: Zend
Exam Name: Zend PHP 5 Certification
Last Update: Jul 7, 2025
Questions: 219

Zend Related Exams

Zend Free Exams

Zend Free Exams
Enhance your Zend exam prep with free resources and practice tests from Examstrack. Achieve Zend certification success by exploring Examstrack.