Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 4 Question 88 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 88
Topic #: 4
[All 200-710 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Alethea
12 days ago
Hmm, I'm not sure. Wouldn't the charset mismatch cause a blank line? The browser might not know how to handle the Unicode characters.
upvoted 0 times
...
Lorriane
17 days ago
The output will definitely be the three Unicode characters, regardless of the browser. That's the correct answer, right?
upvoted 0 times
...
Renay
18 days ago
I agree with Rickie, it might not display correctly because of the charset difference.
upvoted 0 times
...
Rickie
1 months ago
I believe it will show unreadable text due to charset mismatch.
upvoted 0 times
...
Whitley
1 months ago
I think it will print three Unicode characters.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77