3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var1 = "Hello"; $var2 = "hello"; if (strcasecmp($var1, $var2) == 0) { echo '$var1 is equal to $var2 in a case-insensitive string comparison'; } ?>
Output for 4.3.0 - 7.1.0
$var1 is equal to $var2 in a case-insensitive string comparison