PHP – array_unique() Function
The PHP array_unique() function removes duplicate values (the first appearance will be kept) from an array.
The PHP array_unique() function removes duplicate values (the first appearance will be kept) from an array.
The PHP array_unshift() function inserts new elements to the beginning of an array. Numeric keys will start at 0. String keys will remain the same.
The PHP array_walk() function runs each array element in a user-defined function with the array’s keys and values as parameters in the function.
The PHP array_values() function returns an array containing all the values of an array.
The PHP array_walk_recursive() function runs each array element in a user-defined function with the array’s keys and values as parameters in the function.
The PHP arsort() function sorts an associative array in descending order, according to the value.
The PHP as keyword is used by the foreach loop to establish which variables contain the key and value of an element.
The PHP asort() function sorts an associative array in ascending order, according to the value.
The PHP atan() function returns the arc tangent of arg as a numeric value between -Pi/2 and Pi/2 radians.
The PHP atan2() function returns the arc tangent of y/x, in radians, where x and y are the coordinates of a point (x,y).
The PHP base_convert() function converts a number from one number base to another.
The PHP break keyword is used to break out of for loops, foreach loops, while loops, do… while loops, and switch conditions.
The PHP cal_days_in_month() function returns the number of days in a month for a specified year and calendar.
The PHP cal_from_jd() function converts a Julian Day Count into a date of a specified calendar.
The PHP cal_info() function returns information about a specified calendar, or all calendars If the calendar parameter is omitted.