/hphp/test/zend/good/ext/date/tests/bug64157.php
PHP | 5 lines | 5 code | 0 blank | 0 comment | 0 complexity | 74b57a1d722881223154da47c63f0c94 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh <<__EntryPoint>> function main(): void {
- DateTime::createFromFormat('s', '0');
- $lastErrors = DateTime::getLastErrors();
- print_r($lastErrors['errors'][0]);
- }