3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = "<?"; $tokensOldContentLength = 0; $possibleOpenContent = substr($content, -1, 5); var_dump($possibleOpenContent); var_dump(substr('a', 2));

preferences:
10.76 ms | 408 KiB | 5 Q