summaryrefslogtreecommitdiff
path: root/tests/lang/catchable_error_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/catchable_error_001.phpt')
-rw-r--r--tests/lang/catchable_error_001.phpt22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/lang/catchable_error_001.phpt b/tests/lang/catchable_error_001.phpt
deleted file mode 100644
index f6bbdd976d..0000000000
--- a/tests/lang/catchable_error_001.phpt
+++ /dev/null
@@ -1,22 +0,0 @@
---TEST--
-Catchable fatal error [1]
---FILE--
-<?php
- class Foo {
- }
-
- function blah (Foo $a)
- {
- }
-
- function error()
- {
- $a = func_get_args();
- var_dump($a);
- }
-
- blah (new StdClass);
- echo "ALIVE!\n";
-?>
---EXPECTF--
-Catchable fatal error: Argument 1 passed to blah() must be an instance of Foo, instance of stdClass given, called in %scatchable_error_001.php on line 15 and defined in %scatchable_error_001.php on line 5