Weekend Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

200-530 Exam Dumps - Zend Certification Questions and Answers

Question # 24

You are creating an application that generates invoices in a variety of formats, including PDF, ODS and HTML. Each of these formats is represented as a PHP class in your application. While some of the operations can be performed on all of the different formats (such as saving and loading), other operations may be specific to one or two of the formats (such as setting as read only). Which design pattern should you use for this application?

Options:

A.

Adapter

B.

Factory

C.

MVC

D.

Singleton

Buy Now
Question # 25

How many elements does the $matches array contain after the following function call is performed?

preg_match('/^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=200[0-9])/', '21st March

2006', $matches);

Options:

A.

1

B.

2

C.

3

D.

4

Buy Now
Question # 26

Which of the following statements about SOAP is NOT true?

Options:

A.

SOAP is a request-/response-based protocol.

B.

SOAP can be transported using SMTP, HTTP and other protocols.

C.

SOAP requires developers to use WSDL.

D.

SOAP traffic via HTTP can be encrypted and compressed just like other HTTP requests.

Buy Now
Question # 27

What is the output of the following code: echo "1" + 2 * "0x02";

Options:

A.

1

B.

3

C.

5

D.

20

E.

7

Buy Now
Question # 28

How many times will the function counter() be executed in the following code?

function counter($start, &$stop)

{

if ($stop > $start)

{

return;

} counter($start--, ++$stop);

}

$start = 5;

$stop = 2;

counter($start, $stop);

Options:

A.

3

B.

4

C.

5

D.

6

Buy Now
Question # 29

Which piece of code will return the ASCII value of a character?

Options:

A.

(int)'t';

B.

ord('t');

C.

to_ascii('t');

D.

chr('t');

Buy Now
Question # 30

You have a variable $test that contains sub-strings divided by a dash ("-"). How can you put every sub-string into an array element easily?

Options:

A.

extract($test, "-");

B.

explode("-", $test);

C.

to_array($test, "-");

D.

explode($test, "-");

Buy Now
Question # 31

One common security risk is exposing error messages directly in the browser. Which PHP configuration directive can be disabled to prevent this?

Options:

A.

html_display

B.

error_reporting

C.

display_errors

D.

error_log

E.

ignore_repeated_errors

Buy Now
Question # 32

Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by value in PHP 4?

Options:

A.

Class

B.

String

C.

Object

D.

Array

Buy Now
Question # 33

Which is the most secure approach for handling dynamic data in SQL queries?

Options:

A.

Use addslashes().

B.

Enable magic_quotes_gpc.

C.

Use prepared statements if supported by the database library, data-specific escaping functions otherwise.

D.

Use stored procedures.

Buy Now
Exam Code: 200-530
Exam Name: Zend PHP 5.3 Certification
Last Update: Feb 23, 2025
Questions: 254
200-530 pdf

200-530 PDF

$25.5  $84.99
200-530 Engine

200-530 Testing Engine

$28.5  $94.99
200-530 PDF + Engine

200-530 PDF + Testing Engine

$40.5  $134.99