Free 200-550 Exam Braindumps (page: 18)

Page 17 of 56

Assuming UTF-8 encoding, what is the value of $count?
$count = strlen($data);

  1. 0
  2. 4
  3. 5
  4. 7

Answer(s): C



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






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

200-550 Discussions & Posts