Hello,
I want to know how the list PHP function actually work under the hood?
For example, the affection (=) with an array, etc..
Can you also tell me how I can create a function such, please
Thank you!
| SitePoint Sponsor |
Hello,
I want to know how the list PHP function actually work under the hood?
For example, the affection (=) with an array, etc..
Can you also tell me how I can create a function such, please
Thank you!


I highly doubt this will be helpful, but here is the git location of where someone just recently implemented the use of list() within a foreach loop.
http://git.php.net/?p=php-src.git;a=...d0a76a00#l6198
Starts on line 6198.
Okay, but that does not answer my question.
Do you have a clear explanation rather than watching a complicated file without any explanation.
Thank you
Why are you interested in how it does it, if you arnt interested in the code that shows you how it does it?
Never grow up. The instant you do, you lose all ability to imagine great things, for fear of reality crashing in.
Bookmarks