3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d30= strtotime("2017-06-30"); Echo $d30 ."\n"; Echo date("Y-m-d", $d30)."\n\n"; $d31= strtotime("2017-06-31"); Echo $d31 ."\n"; Echo date("Y-m-d", $d31)."\n\n"; $d32= strtotime("2017-06-32"); Echo $d32 ."\n"; Echo date("Y-m-d", $d32)."\n\n";
based on iA2hF
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
1498773600 2017-06-30 1498860000 2017-07-01 1970-01-01