summaryrefslogtreecommitdiff
path: root/Zend/tests/func_get_args.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/func_get_args.phpt')
-rw-r--r--Zend/tests/func_get_args.phpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Zend/tests/func_get_args.phpt b/Zend/tests/func_get_args.phpt
new file mode 100644
index 0000000000..eea8ae4354
--- /dev/null
+++ b/Zend/tests/func_get_args.phpt
@@ -0,0 +1,10 @@
+--TEST--
+Testing func_get_args()
+--FILE--
+<?php
+
+func_get_args();
+
+?>
+--EXPECTF--
+Warning: func_get_args(): Called from the global scope - no function context in %s on line 3