Return the current element key and value, and move the internal pointer forward: |
June 26, 2017, 5:15 p.m. |
A demonstration of all related methods: |
June 26, 2017, 5:14 p.m. |
Output the value of the current element in an array: |
June 26, 2017, 5:12 p.m. |
Count the array recursively: |
June 26, 2017, 5:11 p.m. |
Return the number of elements in an array: |
June 26, 2017, 5:10 p.m. |
Using a string that does not match a variable, and an array of variable names: |
June 26, 2017, 5:09 p.m. |
Create an array from variables and their values: |
June 26, 2017, 5:07 p.m. |
Sort an associative array in ascending order, according to the value: |
June 26, 2017, 5:06 p.m. |
Sort an associative array in descending order, according to the value: |
June 26, 2017, 5:05 p.m. |
Run each array element in a user-defined function: |
June 26, 2017, 5:04 p.m. |
Change an array element's value. (Notice the &$value) |
June 26, 2017, 5:04 p.m. |
With a parameter: |
June 26, 2017, 5:03 p.m. |
Run each array element in a user-defined function: |
June 26, 2017, 5:02 p.m. |
Return all the values of an array (not the keys): |
June 26, 2017, 5:01 p.m. |
Using numeric keys: |
June 26, 2017, 5:01 p.m. |