- phpversion: documentation ( source)
- header: documentation ( source)
- mb_internal_encoding: documentation ( source)
<?php
header('Content-Type: text/html; charset=ISO-8859-1');
//throw new Exception('é');
try {
throw new Exception('é');
} catch (Exception $e) {
print 'Character encoding is: '.mb_internal_encoding().'<br>';
print phpversion().'<br>';
echo 'Message: '. $e->getMessage();
}