[php-src] Issue #11953: Bug here. IN EVERY VERSION!
| From: | byjameson | Date: | Sat, 12 Aug 2023 19:35:34 +0000 |
| Subject: | [php-src] Issue #11953: Bug here. IN EVERY VERSION! | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245166@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11953
Author: byjameson
### Description
for example
$x = [1,2,3,4,5];
for($y=0;$y<count($x);$y++){
$x[] = 1;
}
// IT ENDS ON 5. normally it should go to the infinity.
// if we use foreach, it goes to infinity
### PHP Version
8
### Operating System
ubuntu