From 2b1b2db8ec8d5ef26da2ec671d163182f72f1206 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 2 Oct 2006 11:09:52 +0000 Subject: MFH: fix #39003 (__autoload() is called for type hinting) --- tests/classes/type_hinting_002.phpt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/classes') 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 -- cgit v1.2.1