3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $bug_from = 1406625924; // 29.07.2014 11:25 echo strftime('%d.%m.%Y %H:%M:%S', strtotime('last day of February next year', $bug_from)); echo ' != '; echo strftime('%d.%m.%Y %H:%M:%S', strtotime('last day of February 2015', $bug_from));
Output for 5.5.24 - 5.5.38, 5.6.8 - 5.6.28, 7.0.0 - 7.1.0
28.02.2015 00:00:00 != 28.02.2015 00:00:00
Output for 5.3.0 - 5.5.23, 5.6.0 - 5.6.7, hhvm-3.10.0 - 3.12.0
31.03.2015 00:00:00 != 28.02.2015 00:00:00
Output for 5.1.0 - 5.2.17
01.01.1970 01:00:00 != 01.01.1970 01:00:00
Output for 4.3.6 - 5.0.5
01.01.1970 00:59:59 != 01.01.1970 00:59:59
Output for 4.3.0 - 4.3.5
!=