Quick Question
| From: | Joseph Harkins | Date: | Sat, 25 Aug 2001 07:31:17 +0000 |
| Subject: | Quick Question | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-287@lists.php.net to get a copy of this message | ||
I am learning how to use PEAR and have come across the following:
Here is my code:
<?php
include_once 'File/Find.php';
list ($directories, $files) = File_Find::maptree(getcwd());
?>
And the resulting HTML output:
Warning: Problem with method call - please report this bug in
/usr/share/pear/File/Find.php on line 94
Warning: First argument to array_push() needs to be an array in
/usr/share/pear/File/Find.php on line 178
Warning: First argument to array_push() needs to be an array in
/usr/share/pear/File/Find.php on line 178
Warning: First argument to array_push() needs to be an array in
/usr/share/pear/File/Find.php on line 95
I am guessing that this might mean that I have an older version of PEAR. I
have a Debian/Linux running Sid. Could it be that I got the unstable
version?
Thanks for any help.
--
Joseph Harkins, President |Email : jharkins@g6net.com
G6 Networks, Inc |Office: 801-273-3986
3760 Highland Drive Suite 555 |Fax : 801-424-2350
Salt Lake City, Utah 84106 |Cell : 801-560-5324