Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7305 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75026 invoked by uid 1010); 23 Jan 2004 22:18:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75002 invoked from network); 23 Jan 2004 22:18:10 -0000 Received: from unknown (HELO miranda.org) (209.58.150.153) by pb1.pair.com with SMTP; 23 Jan 2004 22:18:10 -0000 Received: (qmail 21039 invoked by uid 546); 23 Jan 2004 22:18:09 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 Jan 2004 22:18:09 -0000 Date: Fri, 23 Jan 2004 17:18:09 -0500 (EST) X-X-Sender: adam@miranda.org To: Marcus Boerger cc: internals@lists.php.net In-Reply-To: Message-ID: References: <127-1489258859.20040123221414@marcus-boerger.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] SPL Examples Broken? From: adam@trachtenberg.com (Adam Maccabee Trachtenberg) 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!