News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Turland's Blog:
A Few Kinks in FilterIterator
August 16, 2010 @ 10:18:40

In this quick post to his blog Matthew Turland shares a "kink" he found in using the FilterIteractor SPL iterator when working with the Phergie project's code.

Once I discovered the segfault [from the FilterIterator code], I had to come up with a short code sample exposing the bug in order to report it.

He talks about the bug that led him to the segfault and a second bug that was a side effect of the first causing the first element to be skipped during iteration.

0 comments voice your opinion now!
filteriterator spl bug iterate segfault


blog comments powered by Disqus

Similar Posts

Community News: PHP 4.4.5 Segfaults (register_globals = on)

Lorenzo Alberton's Blog: Create a video preview as animated GIF with FFmpeg and PHP SPL

Matthew Turland's Blog: A Few Kinks in FilterIterator

Cyberlot's Blog: PHP bugs, whos responsible? Do they even read them?

Liip Blog: Easily Test PHP 5.4 Beta on OS X with PHP-OSX


Community Events

Don't see your event here?
Let us know!


interview podcast framework version example series extension list community security php7 opinion release api laravel laravel5 library introduction voicesoftheelephpant language

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework