3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $lamba = function() { return array('1'); }; $a = $lamba() = 'a'; var_dump($a);
Output for 5.3.0 - 5.4.26
Fatal error: Can't use function return value in write context in /in/XLSj1 on line 7
Process exited with code 255.