3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(date_parse('2017年 06月 8日'));
based on 0ruX4
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
array(12) { ["year"]=> bool(false) ["month"]=> bool(false) ["day"]=> bool(false) ["hour"]=> int(20) ["minute"]=> int(17) ["second"]=> int(0) ["fraction"]=> bool(false) ["warning_count"]=> int(0) ["warnings"]=> array(0) { } ["error_count"]=> int(12) ["errors"]=> array(12) { [4]=> string(20) "Unexpected character" [5]=> string(20) "Unexpected character" [6]=> string(20) "Unexpected character" [8]=> string(20) "Unexpected character" [9]=> string(20) "Unexpected character" [10]=> string(20) "Unexpected character" [11]=> string(20) "Unexpected character" [12]=> string(20) "Unexpected character" [14]=> string(20) "Unexpected character" [15]=> string(20) "Unexpected character" [16]=> string(20) "Unexpected character" [17]=> string(20) "Unexpected character" } ["is_localtime"]=> bool(false) }