3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = '01-04-2014'; $a = explode('-',$input); $result = strftime("%b",mktime(0,0,0,$a[0])).' '.intval($a[1]' '.intval($a[1]' '.intval($a[2]); echo $result;
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected '' '' (T_CONSTANT_ENCAPSED_STRING) in /in/lmVgI on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/lmVgI on line 6
Process exited with code 255.

preferences:
179.55 ms | 1394 KiB | 62 Q