Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion #36132 [Bgs]: CachingIterator do not work well
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
johan...@php.net  
View profile  
 More options Jan 24 2006, 8:36 am
Newsgroups: mailing.www.php-dev
From: johan...@php.net
Date: Tue, 24 Jan 2006 21:36:03 +0800 (CST)
Local: Tues, Jan 24 2006 8:36 am
Subject: #36132 [Bgs]: CachingIterator do not work well
 ID:               36132
 Updated by:       johan...@php.net
 Reported By:      quick_defect at yahoo dot com
 Status:           Bogus
 Bug Type:         SPL related
 Operating System: *
 PHP Version:      5.1.2
 Assigned To:      helly
 New Comment:

SPL documentation is at http://php.net/~helly/php/ext/spl/
(as linked from php.net/spl) most classes are also
avialable in form of an PHP implementation at
php-src/ext/spl/internal/ in PHP Source distribution or
CVS. And I trust the implementation only :-)

Previous Comments:
------------------------------------------------------------------------

[2006-01-24 06:13:59] quick_defect at yahoo dot com

A tester will never trust a developer's words, we trust manuals and
actual results:) I do that for the better of php. But I will not update
the status of this defect again. Because there are no documents for SPL
functions, it is really difficult to determain a defect.
helly: From your website,CachingIterator "point" to exactly the next
element of the Iterator being cached. So I still think it mis-behaved
after two times of rewind.

------------------------------------------------------------------------

[2006-01-23 10:51:02] sni...@php.net

Just trust what the author of the code says.

------------------------------------------------------------------------

[2006-01-23 10:30:54] quick_defect at yahoo dot com

So you mean a CachingIterator can take more elements than the Iterator
it cached? I can understand that the CachingIterator just caches
Iterator for 1 element. As you know, there are not any documents for
them. So would you PLS to illustrate this?

------------------------------------------------------------------------

[2006-01-23 10:08:50] he...@php.net

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Don't try to outsmart them and still expect them to work correct. The
code you presented works exactly as you told it to.

------------------------------------------------------------------------

[2006-01-23 10:00:59] tony2...@php.net

Assigned to the maintainer.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/36132

--
Edit this bug report at http://bugs.php.net/?id=36132&edit=1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.