Useful posts:-

  • How to use array_filter() function in php ?

    How to use array_filter() function in php ?

    The array_filter() function use to filters the elements of an array using a callback function. This function accepts two parameters and one flag. The first parameter is required which is to be an array

  • What is usort() function in php & how to use it ?

    What is usort() function in php & how to use it ?

    The usort() function sort an array by values using a user-defined comparison function. It accepts two parameters, the first parameter must be an array to sort and the second parameter must be a string that defines a function. The function must return an integer less than, equal to, or greater than zero if the first argument…

  • How to use array_diff (ar1, ar2 …) function in php

    How to use array_diff (ar1, ar2 …) function in php

    The array_diff() function compares ar1 against one or more other arrays and returns the values in ar2 that are not present in any of the other arrays.

  • array_push (arrName, varName) function in php

    array_push (arrName, varName) function in php

    array_push() function use an array as a stack, and it pushes the passed variables at the end of the array. The length of the array increases automatically by the number of variables pushed into the array_push function. It accepts two parameters, the first parameter to be an array and the second parameter can be any…

Got any book recommendations?