3v4l.org

run code in 300+ PHP versions simultaneously
<?php $st = "24.06.11"; $ts = strtotime($st); echo(date("d.m.y",(timestamp)$ts));
Output for 5.4.0 - 5.4.21
Parse error: syntax error, unexpected '$ts' (T_VARIABLE) in /in/ecgUs on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_VARIABLE in /in/ecgUs on line 4
Process exited with code 255.

preferences:
183.17 ms | 1395 KiB | 57 Q