3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emptystring=""; if(empty($emptystring)){echo "String is empty"};
Output for 5.3.0 - 5.3.19, 5.4.0 - 5.4.9
Parse error: syntax error, unexpected '}', expecting ',' or ';' in sDn0Y on line 3
Process exited with code 255.

preferences:
168.18 ms | 1395 KiB | 37 Q