diff options
Diffstat (limited to 'Zend/tests/errmsg_017.phpt')
-rw-r--r-- | Zend/tests/errmsg_017.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Zend/tests/errmsg_017.phpt b/Zend/tests/errmsg_017.phpt new file mode 100644 index 0000000..df2b665 --- /dev/null +++ b/Zend/tests/errmsg_017.phpt @@ -0,0 +1,14 @@ +--TEST-- +errmsg: __unset() must take exactly 1 argument +--FILE-- +<?php + +class test { + function __unset() { + } +} + +echo "Done\n"; +?> +--EXPECTF-- +Fatal error: Method test::__unset() must take exactly 1 argument in %s on line %d |