I'm trying to run the SPL examples and running into some problems. Some of these I was able to work around, but I eventually end up generating a 192 Mb core dump with a 1000+ line gdb backtrace. It's actually quite an impressive crash. :)
First of all, I'm running under PHP 5 Beta 3 since the current CVS no longer allows an Interface to implement an Interface. (Maybe this is the biggest problem? I thought I rememebered Andi claim that Zeev will be fixing this RSN?) Second, there is a small typo in recursiveiteratoriterator.inc. Line 67 has one extra closing ')'. I fixed this. Next, I get an error that recursivedirectoryiterator.inc cannot be found. Based on some guess work, I created this file and placed the following PHP code inside: class RecursiveDirectoryIterator extends DirectoryTreeIterator { } I'm not sure if this is correct, but it allowed me to run the following without any warnings: ~/Documents/php/php-5.0.0b3/sapi/cli/php -d include_path=. -d auto_prepend_file=autoload.inc tree.php ../../dba Unfortunately, this gives a big core dump. :( If anyone has some suggestions I'm happy to try them. In the meantime I will start with a more basic example and see what pushes PHP over the edge. Maybe that will give a more reasonable backtrace. (Marcus: I will send you my current backtrace if you think it will be helpful.) -adam -- [EMAIL PROTECTED] author of o'reilly's php cookbook avoid the holiday rush, buy your copy today! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php