3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = '1208-61202-006'; $val = '1208-61202'; return substr($test,0,10) = $val;
Output for 5.3.0 - 5.4.27
Fatal error: Can't use function return value in write context in /in/V0X4s on line 4
Process exited with code 255.