3v4l.org

run code in 200+ 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 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.2.0
$var1 is equal to $var2 in a case-insensitive string comparison