diff options
author | Antony Dovgal <tony2001@php.net> | 2006-10-02 11:09:52 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-10-02 11:09:52 +0000 |
commit | 2b1b2db8ec8d5ef26da2ec671d163182f72f1206 (patch) | |
tree | acd2c83bd7085b7fd39a6fb2edd96101ad7c4ecd /tests | |
parent | b806546e9592d9c3588eb1883e583acd9c0912bd (diff) | |
download | php-git-2b1b2db8ec8d5ef26da2ec671d163182f72f1206.tar.gz |
MFH: fix #39003 (__autoload() is called for type hinting)
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/classes/type_hinting_002.phpt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/classes/type_hinting_002.phpt b/tests/classes/type_hinting_002.phpt index 4cb75b1b8f..7c685bfdba 100755 --- a/tests/classes/type_hinting_002.phpt +++ b/tests/classes/type_hinting_002.phpt @@ -13,5 +13,4 @@ $o = new Foo; $o->a($o); ?> --EXPECTF-- - -Fatal error: Class 'NonExisting' not found in %stype_hinting_002.php on line %d +Catchable fatal error: Argument 1 passed to Foo::a() must be an instance of NonExisting, instance of Foo given, called in %s on line %d and defined in %s on line %d |