3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = 'azertyuiop.jpg'; echo $yearToLetter = substr($file, 3, 1); echo '--'; echo $realFile = substr($file, 4);

preferences:
39.12 ms | 402 KiB | 5 Q