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

Exact2Pass Menu

Zend Certified PHP Engineer

Last Update 6 hours ago Total Questions : 223

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

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

Question # 51

What purpose do namespaces fulfill?

A.

Encapsulation

B.

Alternative to classes

C.

Improved performance

D.

All of the above

Question # 52

The following form is loaded in a browser and submitted, with the checkbox activated:

< form method="post" >

< input type="checkbox" name="accept" / >

< /form >

In the server-side PHP code to deal with the form data, what is the value of $_POST['accept'] ?

A.

accept

B.

ok

C.

true

D.

on

Question # 53

What is the output of the following code?

echo 0x33, ' monkeys sit on ', 011, ' trees.';

A.

33 monkeys sit on 11 trees.

B.

51 monkeys sit on 9 trees.

C.

monkeys sit on trees.

D.

0x33 monkeys sit on 011 trees.

Question # 54

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

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

A.

1

B.

2

C.

3

D.

4

Question # 55

When a class is defined as final it:

A.

Can no longer be extended by other classes.

B.

Means methods in the class are not over-loadable.

C.

Cannot be defined as such, final is only applicable to object methods.

D.

Cannot be instantiated.

Question # 56

What function can be used to retrieve an array of current options for a stream context?

A.

stream_context_get_params

B.

stream_context_get_default

C.

stream_context_get_options

D.

The 'options' element of the stream_get_meta_data return value

Question # 57

Which of the following superglobals does not necessarily contain data from the client?

A.

$_POST

B.

$_SESSION

C.

$_GET

D.

$_SERVER

Question # 58

What is the output of the following code?

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

echo property_exists((object) $a, 'a')?'true':'false';

echo '-';

echo property_exists((object) $a, 'b')?'true':'false';

A.

false-false

B.

false-true

C.

true-false

D.

true-true

Question # 59

Which technique should be used to speed up joins without changing their results?

A.

Add indices on joined columns

B.

Add a WHERE clause

C.

Add a LIMIT clause

D.

Use an inner join

Question # 60

In the following code, which classes can be instantiated?

abstract class Graphics {

abstract function draw($im, $col);

}

abstract class Point1 extends Graphics {

public $x, $y;

function __construct($x, $y) {

$this- > x = $x;

$this- > y = $y;

}

function draw($im, $col) {

ImageSetPixel($im, $this- > x, $this- > y, $col);

}

}

class Point2 extends Point1 { }

abstract class Point3 extends Point2 { }

A.

Graphics

B.

Point1

C.

Point2

D.

Point3

E.

None, the code is invalid

Go to page: