diff options
Diffstat (limited to 'Zend/tests/exception_006.phpt')
-rw-r--r-- | Zend/tests/exception_006.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Zend/tests/exception_006.phpt b/Zend/tests/exception_006.phpt new file mode 100644 index 0000000..5c981fc --- /dev/null +++ b/Zend/tests/exception_006.phpt @@ -0,0 +1,10 @@ +--TEST-- +Trying to throw a non-object +--FILE-- +<?php + +throw 1; + +?> +--EXPECTF-- +Fatal error: Can only throw objects in %s on line %d |