3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string1 = "Foo"; $string2 = "Bar"; if ( strcmp ( $string1, $string2) == 0 ){ echo "Equal: Yes\n"; } else{ echo "Equal: No\n"; } ?>
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.1.10
Equal: No