Quantcast
Channel: User Ja͢ck - Stack Overflow
Viewing all articles
Browse latest Browse all 42

Comment by Ja͢ck on How do I add a foreach inside another foreach in this context?

$
0
0
if you didn't reduce the code, it would look like that, yes ... the $return = (array)$return is only necessary in the shortened version; it turns $return into an array with one element if it's not an array, otherwise it does nothing.

Viewing all articles
Browse latest Browse all 42

Trending Articles



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