PrepAway - Latest Free Exam Questions & Answers

what will the following code print in the browser?

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

PrepAway - Latest Free Exam Questions & Answers

A.
Three Unicode characters, or unreadable text, depending on the browser

B.
✂✔✝

C.
A blank line due to charset mismatch


Leave a Reply

Your email address will not be published. Required fields are marked *