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 # 9

What will the following function call print?

printf('%010.6f', 22);

A.

22

B.

22.00

C.

022.000000

D.

22.000000

Full Access
Question # 10

You want to extract the pieces of a date string, which looks like this:

"2005-11-02". Which of the following pieces of code will properly assign $year,

$month and $day with their respective values?

A.

sscanf("2005-11-02", '%d-%d-%d', $year, $month, $day);

B.

scan("2005-11-02", '%d-%d-%d', $year, $month, $day);

C.

sscanf('%d-%d-%d', "2005-11-02", $year, $month, $day);

D.

sscan($year, $month, $date '%d-%d-%d', "2005-11-02");

Full Access
Question # 11

What will be the value of $b after running the following code?

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

$b = (array)$a;

A.

TRUE

B.

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

C.

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

D.

None of the above

Full Access
Question # 12

Which of these protocols are NOT governed by the W3C in their latest versions? (Choose 2)

A.

XML-RPC

B.

SOAP

C.

WSDL

D.

UDDI

Full Access
Question # 13

What can NOT be used to send a cookie from within a PHP application?

A.

header()

B.

$_COOKE

C.

setcookie()

D.

setrawcookie()

Full Access
Question # 14

What is the output of the following script?

1

2 function fibonacci ($x1, $x2)

3 {

4 return $x1 + $x2;

5 }

6

7 $x1 = 0;

8 $x2 = 1;

9

10 for ($i = 0; $i < 10; $i++) {

11 echo fibonacci($x1, $x2) . ',';

12 }

13 ?>

A.

1,2,3,4,5,6,7,8,9

B.

1,2,3,4,5,6,7,8,9,10,

C.

1,2,3,5,8,13,21,34,55,89,

D.

1,1,1,1,1,1,1,1,1,1,

Full Access
Question # 15

Where does the session extension store the session data by default?

A.

SQLite Database

B.

MySQL Database

C.

Shared Memory

D.

File system

E.

Session Server

Full Access
Question # 16

Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?

A.

$_GET['ALL']

B.

$_SERVER['QUERY']

C.

$_SERVER['QUERY_STRING']

D.

$_ENV['QUERY']

E.

$QUERY_STRING

Full Access
Go to page: