summaryrefslogtreecommitdiffstats
path: root/included_func.php
diff options
context:
space:
mode:
Diffstat (limited to 'included_func.php')
-rw-r--r--included_func.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/included_func.php b/included_func.php
new file mode 100644
index 0000000..8a5cb10
--- /dev/null
+++ b/included_func.php
@@ -0,0 +1,8 @@
+<?php
+ function va_func()
+ {
+ $args = func_get_args();
+ foreach ($args as $k => $v)
+ echo "arg" . ($k + 1) . ": {$v}<br />\n";
+ }
+?>