diff options
Diffstat (limited to 'tests/classes/interfaces_003.phpt')
-rw-r--r-- | tests/classes/interfaces_003.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/classes/interfaces_003.phpt b/tests/classes/interfaces_003.phpt index f95cbc1ef3..0ce8f9e320 100644 --- a/tests/classes/interfaces_003.phpt +++ b/tests/classes/interfaces_003.phpt @@ -23,4 +23,8 @@ $obj = new MyTestClass; ===DONE=== --EXPECTF-- -Fatal error: Argument 1 passed to MyTestClass::__construct() must be an instance of MyObject, none given, called in %sinterfaces_003.php on line %d +Fatal error: Uncaught TypeException: Argument 1 passed to MyTestClass::__construct() must be an instance of MyObject, none given, called in %sinterfaces_003.php:%d +Stack trace: +#0 %s(%d): MyTestClass->__construct() +#1 {main} + thrown in %sinterfaces_003.php on line %d |