3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo substr_compare("foobar", "bar", 3); echo substr_compare("abcde", "bcy", 1, 3);
based on ZNCQe
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
0-21
Output for hhvm-3.18.5 - 3.22.0
0-1