summaryrefslogtreecommitdiff
path: root/tests/classes
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-10-02 11:09:52 +0000
committerAntony Dovgal <tony2001@php.net>2006-10-02 11:09:52 +0000
commit2b1b2db8ec8d5ef26da2ec671d163182f72f1206 (patch)
treeacd2c83bd7085b7fd39a6fb2edd96101ad7c4ecd /tests/classes
parentb806546e9592d9c3588eb1883e583acd9c0912bd (diff)
downloadphp-git-2b1b2db8ec8d5ef26da2ec671d163182f72f1206.tar.gz
MFH: fix #39003 (__autoload() is called for type hinting)
Diffstat (limited to 'tests/classes')
-rwxr-xr-xtests/classes/type_hinting_002.phpt3
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