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