Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2562

Joomla! 4.x Coding • Re: Strange list view failure.

$
0
0
Only if you assigned the value by reference. This behavior is mentioned in PHP's documentation for foreach loops https://www.php.net/manual/en/control-s ... oreach.php:
Reference of a $value and the last array element remain even after the foreach loop. It is recommended to destroy it by unset().

Statistics: Posted by SharkyKZ — Fri Jan 19, 2024 1:11 pm



Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>