3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(substr_compare("abcde", "bc", 1, 2, false));

preferences:
38.07 ms | 402 KiB | 5 Q