3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo substr_compare('/something/index.php', '/index.php', -10);

preferences:
33.74 ms | 402 KiB | 5 Q