Why would it matter if the loop were done twice?Is that your complete code? If not, maybe you also had a loop with reference, something like this:Code:
foreach ($this->items as &$item) {...
Statistics: Posted by neo314 — Fri Jan 19, 2024 9:46 am
Why would it matter if the loop were done twice?Is that your complete code? If not, maybe you also had a loop with reference, something like this:Code:
foreach ($this->items as &$item) {...
Statistics: Posted by neo314 — Fri Jan 19, 2024 9:46 am