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

Zend 200-530 Exam Made Easy: Step-by-Step Preparation Guide

Questions 51

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

Options:

A.

php://input stream

B.

php://upload stream

C.

$_FILES superglobal

D.

$_PUT superglobal

Buy Now
Questions 52

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
Questions 53

What parsing methodology is utilized by the SimpleXML extension?

Options:

A.

SAX

B.

DOM

C.

XPath

D.

Push/Pull Approach

E.

Expat

Buy Now
Questions 54

You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see what it does and use the following function call:

strcasecmp('hello my dear!', 'Hello my DEAR!');

The function call returns "0". What does that mean?

Options:

A.

String 1 is less than string 2.

B.

The strings are considered equal.

C.

String 2 is less than string 1.

D.

The strings have equal length.

Buy Now
Questions 55

What function should be used to escape command line arguments that are passed to commands executed from PHP?

Options:

A.

addslashes()

B.

quotemeta()

C.

escapeshellarg()

D.

escapeshellcmd()

E.

passthru()

Buy Now
Questions 56

After executing a query on a database server, PHP offers several functions to read the resulting lines, such as mysqli_fetch_assoc, pg_fetch_row, oci_fetch,etc.). If such functions do not return any rows, it means: (Choose 2)

Options:

A.

a SELECT statement returned no rows

B.

the transaction has been rolled back

C.

the connection to the database server was disconnected during query execution

D.

the query was too slow to execute

Buy Now
Questions 57

How can XML parsing errors be suppressed in the SimpleXML extension?

Options:

A.

error_reporting(E_ALL^E_NOTICE);

B.

simplexml_disable_errors(TRUE);

C.

simplexml_ignore_errors(TRUE);

D.

libxml_use_internal_errors(TRUE);

E.

simplexml_load_file("file.xml", LIBXML_NOERROR);

Buy Now
Questions 58

What object method specifies post-serialization behavior for an object?

Options:

A.

__sleep()

B.

__wakeup()

C.

__set_state()

D.

__get()

E.

__autoload()

Buy Now
Questions 59

Which PHP function relieves a 1st of HTTP headers that have been sent as part of the HTTP response or are ready to be sent?

Options:

A.

header()

B.

headers()

C.

header_list()

D.

header_sent()

E.

getresponseheaders0

Buy Now
Questions 60

What do bytecode caches do?

Options:

A.

Cache the output of PHP scripts for reuse

B.

Translate PHP bytecode into machine code and cache the results

C.

Save the results of the compilation of PHP scripts for reuse

D.

Save large data structures (e.g. database result sets) in memory for reuse

Buy Now
Exam Code: 200-530
Exam Name: Zend PHP 5.3 Certification
Last Update: Dec 9, 2024
Questions: 254

PDF + Testing Engine

$164.99
$57.75

Testing Engine

$124.99
$43.75

PDF (Q&A)

$104.99
$36.75