3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "On first glance, the following appears to output 'true' "; print_r(substr($string, "true"));

preferences:
40.74 ms | 402 KiB | 5 Q