3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(date_create_from_format("Y-m-d H:i:s", "2017-12-32 21:13:32"));
based on nNlnW
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2018-01-01 21:13:32.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }