Arquivos
hhvm/hphp/test/zend/bad/ext-date/DateTime_construct_error.php.expectf
T
Paul Tarjan d7ce66ff73 loosen catchable error message
zend emits a special error for typehint violations. We aren't going to be string compatabile with this as they emit 2 line numbers and files. Lets just make sure we fatal at the same point in the test.
2013-05-15 13:05:02 -07:00

8 linhas
312 B
Plaintext

*** Testing date_create() : error conditions ***
-- Testing new DateTime() with more than expected no. of arguments --
HipHop Fatal error: %a
Stack trace:
#0 %s(%d): DateTime->__construct('GMT', Object(DateTimeZone), 99)
#1 {main}
thrown in hphp/test/zend/bad/ext-date/DateTime_construct_error.phpt on line %d