Act now and download your Zend Technologies 200-550 test today! Do not waste time for the worthless Zend Technologies 200-550 tutorials. Download Down to date Zend Technologies Zend Certified PHP Engineer exam with real questions and answers and begin to learn Zend Technologies 200-550 with a classic professional.

2021 Aug 200-550 question

Q41. 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;

A. 2

B. 1

C. 0

D. 3

E. No Output, PHP will generate an error message.

Answer: A


Q42. 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

Answer: D


Q43. What will the following code piece print? echo strtr('Apples and bananas', 'ae', 'ea')

A. Applas end benenes

B. Epplas end benenes

C. Apples and bananas

D. Applas end bananas

Answer: A


Q44. You want to parse a URL into its single parts. Which function do you choose?

A. parse_url()

B. url_parse()

C. get_url_parts()

D. geturlparts()

Answer: A


Q45. CORRECT TEXT

What is the output of the following code? function increment (&$val)

{

return $val + 1;

}

$a = 1;

echo increment ($a); echo increment ($a);

Answer: 22


200-550 training

Latest 200-550 testing engine:

Q46. What does the FILE constant contain?

A. The filename of the current script.

B. The full path to the current script.

C. The URL of the request made.

D. The path to the main script.

Answer: B


Q47. When uploading a file to a PHP script using the HTTP PUT method, where would the file data be found?

A. the $_FILES super-global

B. the input stream php://input

C. the $_POST super-global

D. the global variable scope

Answer: B


Q48. What is the output of the following code? var_dump(boolval([]));

A. bool(true)

B. bool(false)

Answer: B


Q49. What is the pattern modifier for handling UTF-8 encoded preg_* functionality?

A. e

B. u

C. PHP does not support UTF-8 encoded strings

D. A pattern modifier is not needed

Answer: B


Q50. 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

Answer: B