3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = '01-04-2014'; $a = explode('-',$input); $result = strftime("%b",mktime(0,0,$a[0])).' '.$a[1]; echo $result;
Output for 4.3.1 - 5.3.28, 5.4.0 - 5.4.24, 5.4.36 - 5.4.37, 5.6.28, 7.0.14 - 7.1.0
Feb 04
Output for 5.4.39 - 5.4.40, 5.5.35 - 5.6.7, 5.6.21, 7.0.6
May 04
Output for 5.5.24 - 5.5.29, 5.5.34, 5.6.8 - 5.6.14, 5.6.20, 7.0.5
Apr 04
Output for 5.4.38, 5.5.30 - 5.5.33, 5.6.15 - 5.6.19, 7.0.0 - 7.0.4
Mar 04
Output for 4.3.0, 5.3.29, 5.4.25 - 5.4.32, 5.4.45
Sep 04
Output for 5.4.41 - 5.4.44
Aug 04
Output for 5.4.34 - 5.4.35
Dec 04