[php-src] Issue #7979: CachingIterator::hasNext() advances DatePeriod iterator

From: Date: Fri, 21 Jan 2022 11:58:48 +0000
Subject: [php-src] Issue #7979: CachingIterator::hasNext() advances DatePeriod iterator
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239169@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7979 Comment Author: cmb69 Yeah, that looks wrong: https://3v4l.org/sNs51. This appears to be related to https://bugs.php.net/50981, but contrary to that issue, this really looks like an implementation bug. Anyhow, [use ::isValid()](https://3v4l.org/sNs51) as workaround.

« previous php.bugs (#239169) next »