3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = strtotime("February"); var_dump(array( 'type' => gettype($str), 'val' => $str, 'date' => date('F',$str) ))
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected end of file in /in/PXOn7 on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected $end in /in/PXOn7 on line 7
Process exited with code 255.

preferences:
192.37 ms | 1386 KiB | 70 Q