Donnieclark
09/11/2017
Ngày đăng: 19/12/2017

How does PHP's list function work?


Hi,

      You'll have to learn some variation of C to know how it really works behind the scenes. For your PHP though, it's handy to get array element values into individually named scalar variables. It's return value is the array that appears after assignment operator.
The variable $list_return, will just be the unchanged array that was assigned to variables by the list statement, unless an error or invalid array is encountered. The main reason you would use the return value is to check if you have a valid array. For example in a loop that reads records in from a database set until the end is reached and an END OF DATA or NULL is passed from the reading source?

Any idea?


Please help.
Thanks!
I didn't find the right solution from the Internet.
References:http://www.programmingforums.org/thread44992.html

Online Promotional Advertising 

nguyenvanhienit
23/12/2015
Ngày đăng: 14/12/2018

ok