These are the inbuilt array function in php which we can easily which reduce our coding time and efficient.
array() Create an array
array_merge(); Merges one or more arrays into one array
array_sum(); Returns the sum of the values in an array
array_chunk(); Splits an array into chunks of arrays
array_diff(); Compares array values, and returns the differences
in_array(); Checks if a specified value exists in an array
is_array(); Checks exists an array or not
array_slice(); Returns selected parts of an array
array_unique(); Removes duplicate values from an array
and many more......
array() Create an array
array_merge(); Merges one or more arrays into one array
array_sum(); Returns the sum of the values in an array
array_chunk(); Splits an array into chunks of arrays
array_diff(); Compares array values, and returns the differences
in_array(); Checks if a specified value exists in an array
is_array(); Checks exists an array or not
array_slice(); Returns selected parts of an array
array_unique(); Removes duplicate values from an array
and many more......
No comments:
Post a Comment