3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo() { return array(1); } if (empty(foo()) { echo "EYASHA"; } else { echo "PODSGASH"; }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.16
Fatal error: Can't use function return value in write context in /in/Vhggl on line 9
Process exited with code 255.