Pass the Zend Zend Certification 200-530 Questions and answers with CertsForce

Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions
Questions # 11:

Which of the following keywords is not new in PHP 5?

Options:

A.

implements


B.

instanceof


C.

static


D.

abstract


Expert Solution
Questions # 12:

What is the name of the key in $_FILES['name'] that contains the number of bytes of the uploaded file?


Expert Solution
Questions # 13:

What is the output of the following code?

Question # 13


Expert Solution
Questions # 14:

What is the result of the following code?

Question # 14

Options:

A.

Parse error


B.

3.14


C.

PI


D.

T::PI


Expert Solution
Questions # 15:

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

1 <?php

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


Expert Solution
Questions # 16:

Do constants have global scope or local scope?

Options:

A.

They have global scope


B.

They have local scope


C.

They have both global and local scope


D.

They have neither global nor local scope


Expert Solution
Questions # 17:

After performing the following operations:

$a = array('a', 'b', 'c');

$a = array_keys(array_flip($a));

What will be the value of $a?

Options:

A.

array('c', 'b', 'a')


B.

array(2, 1, 0)


C.

array('a', 'b', 'c')


D.

None of the above


Expert Solution
Questions # 18:

Given the following code, what will be the value of $a?

$a = array('a', 'b');

array_push($a, array(1, 2));

Options:

A.

array('a', 'b', 1, 2)


B.

array(1, 2, 'a', 'b')


C.

array(array(1, 2), 'a', 'b')


D.

None of the above


Expert Solution
Questions # 19:

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']


Expert Solution
Questions # 20:

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

Question # 20

Options:

A.

12, 12


B.

12, 24


C.

24, 12


D.

24, 24


E.

PHP Fetal error. Cannot redeclare strlen()


Expert Solution
Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions