- Output for 5.4.1 - 5.4.45, 5.5.24 - 5.5.30, 5.6.8 - 5.6.14
- Parse error: syntax error, unexpected '(' in /in/ujKei on line 6
Process exited with code 255.
<?php
(function(string $thing){
echo $thing;
})
(new class { function __toString() => 'thing'; });
expects: 'thing';