Arr each element of the array and the function name Func, the element is passed to the first argument of the function func, and if the function func more than one parameter, a warning message can be suppressed to suppress the warning message by adding ' @ ' to the function, or @array_walk, or by using the Error_ Reporting。
Note: This function does arr each element of the array, so any change in the element will affect the array itself.
Note: PHP4.0. New transfer index (key) and user data (UserData) to function func. In PHP4, Array_walk () preset does not reset (reset) array, so you must call reset ()
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.