php-array-manipulation-functions-part-2

PHP Array Manipulation Functions Part 2 with practical examples

Array manipulation functions in php-part2 Some functions are discussed already.now in this part 2 series we can see remaining array functionsnin php. 1.rsort() 2.asort() 3.ksort() 4.array_slice() 5.array_splice() 6.array_search() 7.in_array() 8.array_unique() 9.array_keys() 10.array_values() 11.count() rsort(): rsort() function in php is very useful.that function is used for sorting elements in descending order.element values are stored in indexed … Read more

PHP Arrays Tutorial for Beginners: Types, Syntax, Examples

arrays in php

PHP arrays are one of the most important data structures Arrays are used to store values.that values are homogeneous means same data type elements are stored in arrays.every element is accessed by using index values. Arrays index values start with 0,1,2…..and so on.these values are written in array()keyword. For example, you can create an array … Read more