Using numeric keys - If a key exists in array2 and not in array1: |
June 25, 2017, 2:43 p.m. |
Using three arrays - the last array ($a3) will overwrite the previous ones ($a1 and $a2): |
June 25, 2017, 2:42 p.m. |
If a key exists in array2 and not in array1: |
June 25, 2017, 2:42 p.m. |
If a key from array1 exists in array2, and if the key only exists in array1: |
June 25, 2017, 2:41 p.m. |
Replace the values of the first array ($a1) with the values from the second array ($a2): |
June 25, 2017, 2:40 p.m. |
Returning a sum: |
June 25, 2017, 2:39 p.m. |
With the initial parameter: |
June 25, 2017, 2:39 p.m. |
Send the values in an array to a user-defined function and return a string: |
June 25, 2017, 2:38 p.m. |
Return an array of random string keys: |
June 25, 2017, 2:37 p.m. |
Return a random key from an array: |
June 25, 2017, 2:37 p.m. |
Return an array of random keys: |
June 25, 2017, 2:36 p.m. |
An array with string keys: |
June 25, 2017, 2:35 p.m. |
Insert "blue" and "yellow" to the end of an array: |
June 25, 2017, 2:35 p.m. |
Calculate and return the product of an array: |
June 25, 2017, 2:34 p.m. |
Calculate and return the product of an array: |
June 25, 2017, 2:33 p.m. |