Re: #21691 [Opn->Bgs]: PEAR::File_Find result warnings
| From: | Mika Tuupola | Date: | Fri, 14 Feb 2003 11:24:40 +0000 |
| Subject: | Re: #21691 [Opn->Bgs]: PEAR::File_Find result warnings | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13268@lists.php.net to get a copy of this message | ||
On 14 Feb 2003 mj@php.net wrote:
FYI. I have plans to change File_Find so that not only
mapTreeMultiple but mapTree() also can be called statically.
> File_Find cannot be called statically, like you did in line 3 of your
> script.
>
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2003-01-16 15:22:06] tularis@php.net
>
> looks like PEAR to me...
>
> ------------------------------------------------------------------------
>
> [2003-01-16 12:17:33] sazonenkov@yandex.ru
>
> <?php
> require_once 'File/Find.php';
> print_r(File_find::maptree ('/'));
> ?>
>
> <?php
> require_once 'File/Find.php';
> $ff = new File_Find();
> $ff->maptree ('/'));
> ?>
--
Mika Tuupola http://www.appelsiini.net/~tuupola/