- var_export: documentation ( source)
- trigger_error: documentation ( source)
<?php
try {
$oTimezone = new DateTimeZone('hello');
} catch (Exception $oEx) {
trigger_error('Unknown timezone. <![CDATA[ ' . var_export($sTimezone, true) . ' ]]>', E_USER_WARNING);
}