nerdexam
Zend

200-710 · Question #70

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 '✂✔✝';

The correct answer is A. These Unicode characters or unreadable text, depending on the browser. See the full explanation below for the reasoning.

Question

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 '✂✔✝';

Options

  • AThese Unicode characters or unreadable text, depending on the browser
  • B✂✔✝
  • CA blank line due to charset mismatch

How the community answered

(60 responses)
  • A
    78% (47)
  • B
    7% (4)
  • C
    15% (9)

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice