summaryrefslogtreecommitdiff
path: root/ext/spl/examples/tree.php
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-14 21:44:38 +0000
committerMarcus Boerger <helly@php.net>2003-08-14 21:44:38 +0000
commit33cae2694612ef95a248486d9768687f9f0501fe (patch)
treeb15cc49c7938c72ecb09665eab19907b612b95de /ext/spl/examples/tree.php
parent175c25c2a8a63129f8eda39b67b1c97f80fb1030 (diff)
downloadphp-git-33cae2694612ef95a248486d9768687f9f0501fe.tar.gz
Upds
Diffstat (limited to 'ext/spl/examples/tree.php')
-rwxr-xr-xext/spl/examples/tree.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/examples/tree.php b/ext/spl/examples/tree.php
index a0149bc18d..176c286076 100755
--- a/ext/spl/examples/tree.php
+++ b/ext/spl/examples/tree.php
@@ -11,7 +11,7 @@
require_once("sub_dir.inc");
-foreach(new sub_dir($argv[1], true, isset($argv[1]) ? $argv[1] : false) as $f) {
+foreach(new sub_dir($argv[1], true, isset($argv[2]) ? $argv[2] : false) as $f) {
echo "$f\n";
}