summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/call_user_method_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/call_user_method_002.phpt')
-rw-r--r--ext/standard/tests/general_functions/call_user_method_002.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/standard/tests/general_functions/call_user_method_002.phpt b/ext/standard/tests/general_functions/call_user_method_002.phpt
new file mode 100644
index 0000000..054bc3e
--- /dev/null
+++ b/ext/standard/tests/general_functions/call_user_method_002.phpt
@@ -0,0 +1,12 @@
+--TEST--
+call_user_method() Invalid free
+--FILE--
+<?php
+
+call_user_method("1", $arr1);
+
+?>
+--EXPECTF--
+Deprecated: Function call_user_method() is deprecated in %s on line %d
+
+Warning: call_user_method(): Second argument is not an object or class name in %s on line %d