|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-10-06 20:06 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2015-10-06 20:06 UTC] requinix@php.net
[2015-10-06 20:09 UTC] admin at shuguenot dot fr
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 14:00:01 2026 UTC |
Description: ------------ If I make a MultipleIterator and override the current function with that : public function current() { $this->current(); } I know that it's not a well code and this doesn't work and hasn't to be done but maybe it could have something else than a Segfault. Test script: --------------- class QuestionsIterator extends \MultipleIterator implements \Iterator { public function current() { $this->current(); } } Expected result: ---------------- An error or an exception maybe Actual result: -------------- Segmentation Fault