- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected ':', expecting '{' in /in/ZdqJf on line 3
Process exited with code 255.
<?php
function foo() : object {
return null;
}
try {
echo foo();
} catch ($e \EngineException) {
vre_dump($e);
}