Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

200-530 Exam Dumps - Zend PHP 5.3 Certification

Go to page:
Question # 4

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

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

Full Access
Question # 5

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

$a = 2;

$b = 3;

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

A.

0

B.

5

C.

8

D.

4

Full Access
Question # 6

What is the best way to run PHP 4 and PHP 5 side-by-side on the same Apache server?

A.

Run one as an Apache module, the other as a CGI binary.

B.

Run both as a CGI binary.

C.

Just use .php4 for PHP 4, and .php for PHP 5.

D.

Use .php for both but use different document roots.

Full Access
Question # 7

Which of the following statements about PHP is true? (Choose 3)

A.

A final class can be derived.

B.

A final class may be instantiated.

C.

A class with a final function may be derived.

D.

Static functions can be final.

E.

Properties can be final.

Full Access
Question # 8

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

1

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 ?>

A.

2, 3, 4

B.

2, 3, 6

C.

4, 5, 6

D.

1, 2, 3

Full Access
Go to page: