summaryrefslogtreecommitdiff
path: root/tests/lang/009.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/009.phpt')
-rw-r--r--tests/lang/009.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/lang/009.phpt b/tests/lang/009.phpt
new file mode 100644
index 0000000..ea2aa92
--- /dev/null
+++ b/tests/lang/009.phpt
@@ -0,0 +1,11 @@
+--TEST--
+Testing function parameter passing
+--FILE--
+<?php
+function test ($a,$b) {
+ echo $a+$b;
+}
+test(1,2);
+?>
+--EXPECT--
+3