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

200-500 Exam Dumps - Zend PHP 5 Certification

Go to page:
Question # 17

Which of the following statements about Reflection are correct? (Choose 2)

A.

Since 5.1 reflection is an extension that can be disabled

B.

Reflection is present in any installation of PHP 5 or later

C.

Reflection only allows to reflect on built-in classes

D.

Built-in classes can be reflected on command line using php –rc

Full Access
Question # 18

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
Question # 19

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

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.

Full Access
Question # 20

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;

}

A.

protected

B.

invisible

C.

public

D.

private

E.

outofscope

Full Access
Question # 21

What super-global should be used to access information about uploaded files via a POST request?

A.

$_SERVER

B.

$_ENV

C.

$_POST

D.

$_FILES

E.

$_GET

Full Access
Question # 22

What DOMElement method should be used to check for availability of a non-namespaced attribute?

A.

getAttributeNS()

B.

getAttribute()

C.

hasAttribute()

D.

hasAttributeNS()

Full Access
Question # 23

What is the maximum size of the VARCHAR column type?

A.

255 Bytes

B.

255 Characters

C.

512 Bytes

D.

512 Characters

E.

No Limit

Full Access
Question # 24

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?

A.

extract($test, "-");

B.

explode("-", $test);

C.

to_array($test, "-");

D.

explode($test, "-");

Full Access
Go to page: