3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(date_parse('13 décembre 2017'));
Output for 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.30, 8.2.0 - 8.2.25, 8.3.0 - 8.3.13
array(16) { ["year"]=> bool(false) ["month"]=> bool(false) ["day"]=> bool(false) ["hour"]=> int(20) ["minute"]=> int(17) ["second"]=> int(0) ["fraction"]=> bool(false) ["warning_count"]=> int(1) ["warnings"]=> array(1) { [6]=> string(29) "Double timezone specification" } ["error_count"]=> int(4) ["errors"]=> array(4) { [0]=> string(20) "Unexpected character" [1]=> string(20) "Unexpected character" [4]=> string(20) "Unexpected character" [5]=> string(20) "Unexpected character" } ["is_localtime"]=> bool(true) ["zone_type"]=> int(2) ["zone"]=> int(14400) ["is_dst"]=> bool(false) ["tz_abbr"]=> string(1) "D" }
Output for 7.1.0 - 7.1.20
array(16) { ["year"]=> bool(false) ["month"]=> bool(false) ["day"]=> bool(false) ["hour"]=> int(20) ["minute"]=> int(17) ["second"]=> int(0) ["fraction"]=> bool(false) ["warning_count"]=> int(1) ["warnings"]=> array(1) { [6]=> string(29) "Double timezone specification" } ["error_count"]=> int(4) ["errors"]=> array(4) { [0]=> string(20) "Unexpected character" [1]=> string(20) "Unexpected character" [4]=> string(20) "Unexpected character" [5]=> string(20) "Unexpected character" } ["is_localtime"]=> bool(true) ["zone_type"]=> int(2) ["zone"]=> int(-240) ["is_dst"]=> bool(false) ["tz_abbr"]=> string(1) "D" }

preferences:
78.87 ms | 409 KiB | 5 Q