3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $v0 = '5.6.3RC1'; foreach(array('5.6.2', '5.6.3RC', '5.6.3RC1', '5.6.3RC2', , '5.6.3') as $v) { echo "$v vs $v0=", version_compare($v, $v0), "\n"; }
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ',', expecting ')' in /in/rLG1i on line 3
Process exited with code 255.