BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Free Zend 200-710 Exam Dumps

Here you can find all the free questions related with Zend Certified Engineer (200-710) exam. You can also find on this page links to recently updated premium files with which you can practice for actual Zend Certified Engineer Exam. These premium versions are provided as 200-710 exam practice tests, both as desktop software and browser based application, you can use whatever suits your style. Feel free to try the Zend Certified Engineer Exam premium files for free, Good luck with your Zend Certified Engineer Exam.
Question No: 1

MultipleChoice

What is the output of the following code?

$a = 3;

switch ($a) {

case 1: echo 'one'; break;

case 2: echo 'two'; break;

default: echo 'four'; break;

case 3: echo 'three'; break;

}

Options
Question No: 2

MultipleChoice

What is the output of the following code?

$a = 'a'; $b = 'b';

echo isset($c) ? $a.$b.$c : ($c = 'c').'d';

Options
Question No: 3

MultipleChoice

What is the output of the following code?

echo "1" + 2 * "0x02";

Options
Question No: 4

MultipleChoice

What is the output of the following code?

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

Options
Question No: 5

FillInTheBlank

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"

Question No: 6

FillInTheBlank

Which PHP function is used to validate whether the contents of $_FILES['name']['tmp_name'] have really been uploaded via HTTP?

Question No: 7

MultipleChoice

What is the output of the following code?

class Foo Implements ArrayAccess {

function offsetExists($k) { return true;}

function offsetGet($k) {return 'a';}

function offsetSet($k, $v) {}

function offsetUnset($k) {}

}

$x = new Foo();

echo array_key_exists('foo', $x)?'true':'false';

Options
Question No: 8

MultipleChoice

What is the output of the following code?

class Bar {

private $a = 'b';

public $c = 'd';

}

$x = (array) new Bar();

echo array_key_exists('a', $x) ? 'true' : 'false';

echo '-';

echo array_key_exists('c', $x) ? 'true' : 'false';

Options
Question No: 9

MultipleChoice

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';

Options
Question No: 10

MultipleChoice

Consider the following XML code:

PHP 5.5 in 42 Hours

Learning PHP 5.5 The Hard Way

Which of the following SimpleXML calls prints the name of the second book?

(Let $xml = simplexml_load_file("books.xml"); .) (Choose 2)

Options

Save Cancel