3v4l.org

run code in 300+ PHP versions simultaneously
<?php $details = "015746738" echo substr($details, 0, strlen($details) - 2);
Output for 5.5.0 - 5.5.36, 5.6.0 - 5.6.22, 7.0.0 - 7.0.8
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/mpFmf on line 3
Process exited with code 255.

preferences:
190.15 ms | 1395 KiB | 75 Q