summaryrefslogtreecommitdiff
path: root/Zend/tests/function_arguments_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/function_arguments_002.phpt')
-rw-r--r--Zend/tests/function_arguments_002.phpt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Zend/tests/function_arguments_002.phpt b/Zend/tests/function_arguments_002.phpt
new file mode 100644
index 0000000..1b5b7bd
--- /dev/null
+++ b/Zend/tests/function_arguments_002.phpt
@@ -0,0 +1,9 @@
+--TEST--
+Argument parsing error #002
+--FILE--
+<?php
+function foo($arg1/) {}
+?>
+--EXPECTF--
+Parse error: %s error, %s)%s in %sfunction_arguments_002.php on line %d
+