3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); $test = array( 'id' => 'skidlord', 'pw' => 'r1c3ch1ld' ); $a="1337"; if (strcmp($a,$test) == 0||strcasecmp($a,$test) == 0){ echo "pass"; } else{ echo "fail"; }
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
pass
Output for 4.3.0 - 5.2.17
fail