Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Zend PHP 5.3 Certification

Last Update 16 hours ago Total Questions : 254

The Zend PHP 5.3 Certification content is now fully updated, with all current exam questions added 16 hours ago. Deciding to include 200-530 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our 200-530 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these 200-530 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Zend PHP 5.3 Certification practice test comfortably within the allotted time.

Question # 11

What is the result of the following bitwise operation in PHP?

1 ^ 2

A.

1

B.

3

C.

2

D.

4

Question # 12

When retrieving data from URLs, what are valid ways to make sure all file_get_contents calls send a certain user agent string? (Choose 2)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question # 13

After performing the following operations:

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

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

What will be the value of $a?

A.

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

B.

array(2, 1, 0)

C.

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

D.

None of the above

Question # 14

Which of the following is NOT possible using reflection?

A.

Analysing of nearly any aspect of classes and interfaces

B.

Analysing of nearly any aspect of functions

C.

Adding class methods

D.

Implement dynamic construction (new with variable class name)

Question # 15

What is the purpose of the open_basedir directive?

A.

Provide a list of directories where PHP should search for files.

B.

Provide a list of directories from which PHP can open files.

C.

Provide a list of directories from which PHP cannot open files.

D.

Directory where the PHP extensions can be found.

Question # 16

You are creating an application that repeatedly connects to a database to retrieve order data for invoices. All data comes from the same database. In order to preserve resources, you have to ensure that only one database connection should be used at any time. The code also has to open as few new database connections as possible. Which design pattern should you use for this scenario?

A.

Adapter

B.

Factory

C.

MVC

D.

Singleton

Question # 17

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 " );

Question # 18

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

A.

implements ArrayAccess

B.

has a public__count() method

C.

was cast to an object from an array

D.

None of the above

Question # 19

What is the output of the following script?

1 < ?php

2 class a

3 {

4 public $val = 10;

5 }

6

7 function renderVal (a $a)

8 {

9 return $a- > $val;

10 }

11

12 renderVal (new a);

13 ? >

A.

Nothing

B.

NULL

C.

A fatal error

D.

$val

E.

10

Question # 20

Your application needs to handle file uploads performed with HTTP PUT. How can you retrieve this data?

A.

php://input stream

B.

php://upload stream

C.

$_FILES superglobal

D.

$_PUT superglobal

Go to page: