3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $month_name = 'Feb'; $month_number = date("m", $month_name); echo $month_number;
based on CfPhp
Output for 7.0.0 - 7.2.0
Warning: date() expects parameter 2 to be integer, string given in /in/O5Xvl on line 4
Output for 5.5.0 - 5.6.28
Warning: date() expects parameter 2 to be long, string given in /in/O5Xvl on line 4