Free 200-550 Exam Braindumps
Zend Certified PHP Engineer Questions 66–70 (page: 15)

Updated On: 9-Feb-2026

What is the output of this code?
$world = 'world';
echo <<<'TEXT'
hello $world
TEXT;

  1. hello world
  2. hello $world
  3. PHP Parser error

Answer(s): C



Given a php.ini setting of
default_charset = utf-8
what will the following code print in the browser?
header('Content-Type: text/html; charset=iso-8859-1');
echo '&#9986;&#10004;&#10013;';

  1. Three Unicode characters, or unreadable text, depending on the browser
  2. &#9986;&#10004;&#10013;
  3. A blank line due to charset mismatch

Answer(s): A



What will the following code print out?
$str = '&#10004; one of the following';
echo str_replace('&#10004;', 'Check', $str);

  1. Check one of the following
  2. one of the following
  3. &#10004; one of the following

Answer(s): A



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

  1. e
  2. u
  3. PHP does not support UTF-8 encoded strings
  4. A pattern modifier is not needed

Answer(s): B



What is the output of the following code?
$text = 'This is text';
$text1 = <<<'TEXT'
$text
TEXT;
$text2 = <<<TEXT
$text1
TEXT;
echo "$text2";

  1. This is text
  2. $text
  3. $text1
  4. $text2

Answer(s): B



Viewing page 15 of 46
Viewing questions 71 - 75 out of 223 questions


Post your Comments and Discuss Zend 200-550 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!