- Output for 5.5.24 - 5.5.32, 5.6.8 - 5.6.18, 7.0.0 - 7.0.3
- Parse error: syntax error, unexpected ')' in /in/Re3og on line 9
Process exited with code 255.
<?php
class Foo {
function bar() {
return null;
}
}
var_dump((new Foo)->bar()->bar() ? 3);