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

Free Zend Certified PHP Engineer Practice Questions

Exams4sure Dumps

Exam style questions across every 200-550 domain

Last Update 3 days ago
Total Questions : 223

Start with our free 200-550 practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real PHP and Zend Framework Certifications exam. Each 200-550 exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Zend weak domains, see where you're losing marks, and build a focused study plan in minutes.

200-550 PDF

200-550 PDF (Printable)
$54.25
$154.99

200-550 Testing Engine

200-550 PDF (Printable)
$59.5
$169.99

200-550 PDF + Testing Engine

200-550 PDF (Printable)
$74.55
$212.99
Question # 21

What is the output of the following code?

echo "22" + "0.2", 23 . 1;

Options:

A.  

220.2231

B.  

22.2231

C.  

22.2,231

D.  

56.2

Discussion 0
Question # 22

When would you use classes and when would you use namespaces?

Options:

A.  

Use classes to encapsulate code and represent objects, and namespaces to avoid symbol name collisions

B.  

Use classes for performance-sensitive code, and namespaces when readability matters more

C.  

Use namespaces for performance-sensitive code, and classes when readability matters more

D.  

Always use them; namespaces are always superior to classes

Discussion 0
Question # 23

Which of these databases is NOT supported by a PDO driver?

Options:

A.  

Microsoft SQL Server

B.  

SQLite

C.  

Microsoft Access

D.  

Berkeley DB

Discussion 0
Question # 24

What is the recommended method of copying data between two opened files?

Options:

A.  

copy($source_file, $destination_file);

B.  

copy($destination_file, $source_file);

C.  

stream_copy_to_stream($source_file, $destination_file);

D.  

stream_copy_to_stream($destination_file, $source_file);

E.  

stream_bucket_prepend($source_file, $destination_file);

Discussion 0
Question # 25

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

Options:

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

Discussion 0
Question # 26

Please provide the name of the super-global variable where all the information about cookies is available.

Options:

Discussion 0
Question # 27

What is the output of the following code?

class test {

public $value = 0;

function test() {

$this->value = 1;

}

function __construct() {

$this->value = 2;

}

}

$object = new test();

echo $object->value;

Options:

A.  

2

B.  

1

C.  

0

D.  

3

E.  

No Output, PHP will generate an error message.

Discussion 0
Question # 28

Consider the following code. Which keyword should be used in the line marked with "KEYWORD" instead of "self" to make this code work as intended?

abstract class Base {

protected function __construct() {

}

public static function create() {

return new self(); // KEYWORD

}

abstract function action();

}

class Item extends Base {

public function action() { echo __CLASS__; }

}

$item = Item::create();

$item->action(); // outputs "Item"

Options:

Discussion 0
Question # 29

What will the $array array contain at the end of this script?

function modifyArray (&$array)

{

foreach ($array as &$value)

{

$value = $value + 1;

}

$value = $value + 2;

}

$array = array (1, 2, 3);

modifyArray($array);

Options:

A.  

2, 3, 4

B.  

2, 3, 6

C.  

4, 5, 6

D.  

1, 2, 3

Discussion 0
Question # 30

Which class of HTTP status codes is used for redirections?

Options:

A.  

2XX

B.  

3XX

C.  

4XX

D.  

5XX

Discussion 0

Free Exams Sample Questions