Sort an array: |
June 27, 2017, 5:06 p.m. |
PHP natcasesort() Function |
June 27, 2017, 5:06 p.m. |
Using the first and third variables: |
June 27, 2017, 5:05 p.m. |
Assign variables as if they were an array: |
June 27, 2017, 5:05 p.m. |
Sort an associative array in ascending order, according to the key: |
June 27, 2017, 5:04 p.m. |
Sort an associative array in descending order, according to the key: |
June 27, 2017, 5:01 p.m. |
Return the element key from the current internal pointer position: |
June 26, 2017, 5:25 p.m. |
Using all parameters: |
June 26, 2017, 5:24 p.m. |
Search for the value "Glenn" in an array and output some text: |
June 26, 2017, 5:23 p.m. |
Using all parameters: |
June 26, 2017, 5:22 p.m. |
Assign the values "Cat", "Dog" and "Horse" to the variables $a, $b and $c: |
June 26, 2017, 5:21 p.m. |
A demonstration of all related methods: |
June 26, 2017, 5:18 p.m. |
Output the value of the current and the last element in an array: |
June 26, 2017, 5:18 p.m. |
A demonstration of all related methods: |
June 26, 2017, 5:17 p.m. |
Same example as the one on top of the page, but with a loop to output the whole array: |
June 26, 2017, 5:16 p.m. |