3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "./documenti/cazzo/immagine.jpg"; $str = substr($string, /, -1); print($str);
Output for 5.3.7 - 5.3.28, 5.4.0 - 5.4.30
Parse error: syntax error, unexpected '/' in /in/FHk34 on line 3
Process exited with code 255.

preferences:
202.81 ms | 942 KiB | 61 Q