summaryrefslogtreecommitdiffstats
path: root/included_func.php
diff options
context:
space:
mode:
authorKyle Kaminski <kyle@kkaminsk.com>2013-06-16 03:25:26 -0500
committerKyle Kaminski <kyle@kkaminsk.com>2013-06-16 03:25:26 -0500
commit1bad4fc00814e2c03ecadaa7faf93c6372f5bd30 (patch)
tree88104590feefcb804f5fa0ca57ee1a6c76cbf0a7 /included_func.php
downloadphpsandbox-1bad4fc00814e2c03ecadaa7faf93c6372f5bd30.tar.gz
phpsandbox-1bad4fc00814e2c03ecadaa7faf93c6372f5bd30.tar.bz2
phpsandbox-1bad4fc00814e2c03ecadaa7faf93c6372f5bd30.zip
initial commit
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";
+ }
+?>