/hphp/test/zend/good/ext/date/tests/bug64157.php
http://github.com/facebook/hiphop-php · PHP · 5 lines · 5 code · 0 blank · 0 comment · 0 complexity · 74b57a1d722881223154da47c63f0c94 MD5 · raw file
- <?hh <<__EntryPoint>> function main(): void {
- DateTime::createFromFormat('s', '0');
- $lastErrors = DateTime::getLastErrors();
- print_r($lastErrors['errors'][0]);
- }