3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $current_week_number = date('W'); $current_date = date('d/m/Y'); $current_Month = date("m",strtotime($current_date)); echo $current_Month;
based on S44ed
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
01
Output for 4.3.0 - 5.0.5
02