- Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.22
- Parse error: syntax error, unexpected '{', expecting '(' in /in/PSbaH on line 11
Process exited with code 255.
<?php
function handleError( $errno, $errstr, $errfile, $errline ) {
if ( E_RECOVERABLE_ERROR === $errno ) {
echo $errstr;
}
}
set_error_handler( 'handleError' );
try{
$g = new Generator;
$g->whatami = "a highly dubious property";
} catch{
$e->getMessage();
}
finally {
echo "\nTidying up loose ends ... ";
}