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

Zend Certification Changed 200-530 Questions

Page: 6 / 9
Question 24

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.

Question 25

The purpose of the singleton pattern is to...

Options:

A.

...create applications that only a single user may use.

B.

...have just one single instance of an object in the entire application.

C.

...have only one instance of each object in a collection of objects.

Question 26

You want to run the following PHP 4 code with PHP 5. In the following example, which access modifier in PHP 5 is equivalent to "var"?

class Test {

var $tester;

}

Options:

A.

protected

B.

invisible

C.

public

D.

private

E.

outofscope

Question 27

How can the id attribute of the 2nd baz element from the XML string below be retrieved from the SimpleXML object found inside $xml?

One

Two

Options:

A.

$xml->getElementById('2');

B.

$xml->foo->bar->baz[2]['id']

C.

$xml->foo->baz[2]['id']

D.

$xml->foo->bar->baz[1]['id']

E.

$xml->bar->baz[1]['id']

Page: 6 / 9
Exam Code: 200-530
Exam Name: Zend PHP 5.3 Certification
Last Update: Nov 24, 2024
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