/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

  1. <?hh <<__EntryPoint>> function main(): void {
  2. DateTime::createFromFormat('s', '0');
  3. $lastErrors = DateTime::getLastErrors();
  4. print_r($lastErrors['errors'][0]);
  5. }