3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('n', strtotime('20.01.2013')); echo ' '; echo (int)date('m', strtotime('20.01.2013')); echo ' '; echo date('d', strtotime('20.01.2013')); echo ' '; echo (int)date('j', strtotime('20.01.2013'));
Output for 5.1.0 - 7.1.7
1 1 20 20
Output for 4.3.0 - 5.0.5
1 1 01 1