Re: SPL Examples Broken?
| From: | Adam Maccabee Trachtenberg | Date: | Fri, 23 Jan 2004 22:18:09 +0000 |
| Subject: | Re: SPL Examples Broken? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7305@lists.php.net to get a copy of this message | ||
On Fri, 23 Jan 2004, Adam Maccabee Trachtenberg wrote:
> I will try rebuilding things and take a second look.
The tree.php example now works, but I am getting errors with
findfile.php:
[adam@benlev:~/CVS/php/php-src/ext/spl/examples] $
../../../sapi/cli/php -d auto_prepend_file=autoload.inc findfile.php
. findfile.php
PHP Notice: Undefined property: FindFile::$it in
/usr/local/cvs/php/php-src/ext/spl/examples/findfile.php on line 36
PHP Fatal error: Call to a member function current() on a non-object
in /usr/local/cvs/php/php-src/ext/spl/examples/findfile.php on line 36
/Users/adam/CVS/php/php-src/main/streams/streams.c(371) : Stream of
type 'dir' 0xac0e80 (path:(null)) was not closed
-adam
--
adam@trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!