#34084 [Asn]: RecursiveFilterIterator causes fatal error
| From: | helly@php.net | Date: | Thu, 11 Aug 2005 20:11:40 +0000 |
| Subject: | #34084 [Asn]: RecursiveFilterIterator causes fatal error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83403@lists.php.net to get a copy of this message | ||
ID: 34084
Updated by: helly@php.net
Reported By: bjori@php.net
Status: Assigned
Bug Type: SPL related
Operating System: FreeBSD 5.3-RELEASE
PHP Version: 5CVS-2005-08-11 (dev)
Assigned To: helly
New Comment:
I cannot reproduce. And i had the exact same behavior before i fixed
the engine. So please be sure to cvs up your engine. At least
zend_compile.c needs to be updated.
Previous Comments:
------------------------------------------------------------------------
[2005-08-11 21:09:19] tony2001@php.net
Aha, so actually the problem was with my checkout =)
Marcus, fix your last patch, please.
------------------------------------------------------------------------
[2005-08-11 20:53:16] bjori@php.net
$ cvs -d :pserver:cvsread@cvs.php.net:/repository checkout php-src
$ cd php-src/
$ ./buildconf --force
$ ./configure --with-zend-vm=GOTO --enable-debug
--with-apxs2=/usr/local/sbin/apxs --prefix=/usr/home/dev
$ make
$ ./sapi/cli/php -v
PHP Fatal error: Class RecursiveFilterIterator contains 1 abstract
method and must therefore be declared abstract or implement the
remaining methods (FilterIterator::accept) in Unknown on line 0
<br />
<b>Fatal error</b>: Class RecursiveFilterIterator contains 1 abstract
method and must therefore be declared abstract or implement the
remaining methods (FilterIterator::accept) in <b>Unknown</b> on line
<b>0</b><br />
PHP 6.0.0-dev (cli) (built: Aug 11 2005 20:55:00) (DEBUG)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0-dev, Copyright (c) 1998-2005 Zend Technologies
------------------------------------------------------------------------
[2005-08-11 20:28:21] tony2001@php.net
Works fine here.
Try it with clean checkout.
------------------------------------------------------------------------
[2005-08-11 19:59:20] bjori@php.net
Description:
------------
Class RecursiveFilterIterator contains 1 abstract method and must
therefore be declared abstract or implement the remaining methods...
Reproduce code:
---------------
php -v
Expected result:
----------------
PHP 6.0.0-dev (cli) (built: Aug 11 2005 04:38:23) (DEBUG)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0-dev, Copyright (c) 1998-2005 Zend Technologies
Actual result:
--------------
PHP Fatal error: Class RecursiveFilterIterator contains 1 abstract
method and must therefore be declared abstract or implement the
remaining methods (FilterIterator::accept) in Unknown on line 0
<br />
<b>Fatal error</b>: Class RecursiveFilterIterator contains 1 abstract
method and must therefore be declared abstract or implement the
remaining methods (FilterIterator::accept) in <b>Unknown</b> on line
<b>0</b><br />
PHP 6.0.0-dev (cli) (built: Aug 11 2005 04:38:23) (DEBUG)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0-dev, Copyright (c) 1998-2005 Zend Technologies
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34084&edit=1