3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = ' '; if(empty($var)) { echo "leeg" } else { echo "Waarde!"; } ?>
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/LMBId on line 5
Process exited with code 255.