How can we help?

You can also find more resources in our Help Center.

98 terms

PHP Functions set 1

STUDY
PLAY
describe the Purpose of the strtotime() Function
Parses an English textual date or time into a Unix timestamp
describe the Purpose of the time() Function
Returns the current time as a Unix timestamp
describe the Purpose of the cal_days_in_month() Function
Returns the number of days in a month for a specified year and calendar
describe the Purpose of the cal_from_jd() Function
Converts a Julian day count into a date of a specified calendar
describe the Purpose of the cal_info() Function
Returns information about a given calendar
describe the Purpose of the cal_to_jd() Function
Converts a date to Julian day count
describe the Purpose of the easter_date() Function
Returns the Unix timestamp for midnight on Easter of a specified year
describe the Purpose of the easter_days() Function
"Returns the number of days after March 21, on which Easter falls for a specified year"
describe the Purpose of the FrenchToJD() Function
Converts a French Republican date to a Julian day count
describe the Purpose of the GregorianToJD() Function
Converts a Gregorian date to a Julian day count
describe the Purpose of the JDDayOfWeek() Function
Returns the day of a week
describe the Purpose of the JDMonthName() Function
Returns a month name
describe the Purpose of the JDToFrench() Function
Converts a Julian day count to a French Republican date
describe the Purpose of the JDToGregorian() Function
Converts a Julian day count to a Gregorian date
describe the Purpose of the jdtojewish() Function
Converts a Julian day count to a Jewish date
describe the Purpose of the JDToJulian() Function
Converts a Julian day count to a Julian date
describe the Purpose of the jdtounix() Function
Converts a Julian day count to a Unix timestamp
describe the Purpose of the JewishToJD() Function
Converts a Jewish date to a Julian day count
describe the Purpose of the JulianToJD() Function
Converts a Julian date to a Julian day count
describe the Purpose of the unixtojd() Function
Converts a Unix timestamp to a Julian day count
describe the Purpose of the CAL_GREGORIAN Constant
Gregorian calendar
describe the Purpose of the CAL_JULIAN Constant
Julian calendar
describe the Purpose of the CAL_JEWISH Constant
Jewish calendar
describe the Purpose of the CAL_FRENCH Constant
French Republican calendar
describe the Purpose of the array() Function
Creates an array
describe the Purpose of the array_change_key_case() Function
Returns an array with all keys in lowercase or uppercase
describe the Purpose of the array_chunk() Function
Splits an array into chunks of arrays
describe the Purpose of the array_combine() Function
Creates an array by using one array for keys and another for its values
describe the Purpose of the array_count_values() Function
Returns an array with the number of occurrences for each value
describe the Purpose of the array_diff() Function
"Compares array values, and returns the differences"
describe the Purpose of the array_diff_assoc() Function
"Compares array keys and values, and returns the differences"
describe the Purpose of the array_diff_key() Function
"Compares array keys, and returns the differences"
describe the Purpose of the array_diff_uassoc() Function
"Compares array keys and values, with an additional user-made function check, and returns the differences"
describe the Purpose of the array_diff_ukey() Function
"Compares array keys, with an additional user-made function check, and returns the differences"
describe the Purpose of the array_fill() Function
Fills an array with values
describe the Purpose of the array_filter() Function
Filters elements of an array using a user-made function
describe the Purpose of the array_flip() Function
Exchanges all keys with their associated values in an array
describe the Purpose of the array_intersect() Function
"Compares array values, and returns the matches"
describe the Purpose of the array_intersect_assoc() Function
"Compares array keys and values, and returns the matches"
describe the Purpose of the array_intersect_key() Function
"Compares array keys, and returns the matches"
describe the Purpose of the array_intersect_uassoc() Function
"Compares array keys and values, with an additional user-made function check, and returns the matches"
describe the Purpose of the array_intersect_ukey() Function
"Compares array keys, with an additional user-made function check, and returns the matches"
describe the Purpose of the array_key_exists() Function
Checks if the specified key exists in the array
describe the Purpose of the array_keys() Function
Returns all the keys of an array
describe the Purpose of the array_map() Function
"Sends each value of an array to a user-made function, which returns new values"
describe the Purpose of the array_merge() Function
Merges one or more arrays into one array
describe the Purpose of the array_merge_recursive() Function
Merges one or more arrays into one array
describe the Purpose of the array_multisort() Function
Sorts multiple or multi-dimensional arrays
describe the Purpose of the array_pad() Function
"Inserts a specified number of items, with a specified value, to an array"
describe the Purpose of the array_pop() Function
Deletes the last element of an array
describe the Purpose of the array_product() Function
Calculates the product of the values in an array
describe the Purpose of the array_push() Function
Inserts one or more elements to the end of an array
describe the Purpose of the array_rand() Function
Returns one or more random keys from an array
describe the Purpose of the array_reduce() Function
"Returns an array as a string, using a user-defined function"
describe the Purpose of the array_reverse() Function
Returns an array in the reverse order
describe the Purpose of the array_search() Function
Searches an array for a given value and returns the key
describe the Purpose of the array_shift() Function
"Removes the first element from an array, and returns the value of the removed element"
describe the Purpose of the array_slice() Function
Returns selected parts of an array
describe the Purpose of the array_splice() Function
Removes and replaces specified elements of an array
describe the Purpose of the array_sum() Function
Returns the sum of the values in an array
describe the Purpose of the array_udiff() Function
Compares array values in a user-made function and returns an array
describe the Purpose of the array_udiff_assoc() Function
"Compares array keys, and compares array values in a user-made function, and returns an array"
describe the Purpose of the array_udiff_uassoc() Function
"Compares array keys and array values in user-made functions, and returns an array"
describe the Purpose of the array_uintersect() Function
Compares array values in a user-made function and returns an array
describe the Purpose of the array_uintersect_assoc() Function
"Compares array keys, and compares array values in a user-made function, and returns an array"
describe the Purpose of the array_uintersect_uassoc() Function
"Compares array keys and array values in user-made functions, and returns an array"
describe the Purpose of the array_unique() Function
Removes duplicate values from an array
describe the Purpose of the array_unshift() Function
Adds one or more elements to the beginning of an array
describe the Purpose of the array_values() Function
Returns all the values of an array
describe the Purpose of the array_walk() Function
Applies a user function to every member of an array
describe the Purpose of the array_walk_recursive() Function
Applies a user function recursively to every member of an array
describe the Purpose of the arsort() Function
Sorts an array in reverse order and maintain index association
describe the Purpose of the asort() Function
Sorts an array and maintain index association
describe the Purpose of the compact() Function
Create array containing variables and their values
describe the Purpose of the count() Function
"Counts elements in an array, or properties in an object"
describe the Purpose of the current() Function
Returns the current element in an array
describe the Purpose of the each() Function
Returns the current key and value pair from an array
describe the Purpose of the end() Function
Sets the internal pointer of an array to its last element
describe the Purpose of the extract() Function
Imports variables into the current symbol table from an array
describe the Purpose of the in_array() Function
Checks if a specified value exists in an array
describe the Purpose of the key() Function
Fetches a key from an array
describe the Purpose of the krsort() Function
Sorts an array by key in reverse order
describe the Purpose of the ksort() Function
Sorts an array by key
describe the Purpose of the list() Function
Assigns variables as if they were an array
describe the Purpose of the natcasesort() Function
"Sorts an array using a case insensitive ""natural order"" algorithm"
describe the Purpose of the natsort() Function
"Sorts an array using a ""natural order"" algorithm"
describe the Purpose of the next() Function
Advance the internal array pointer of an array
describe the Purpose of the pos() Function
Alias of current()
describe the Purpose of the prev() Function
Rewinds the internal array pointer
describe the Purpose of the range() Function
Creates an array containing a range of elements
describe the Purpose of the reset() Function
Sets the internal pointer of an array to its first element
describe the Purpose of the rsort() Function
Sorts an array in reverse order
describe the Purpose of the shuffle() Function
Shuffles an array
describe the Purpose of the sizeof() Function
Alias of count()
describe the Purpose of the sort() Function
Sorts an array
describe the Purpose of the uasort() Function
Sorts an array with a user-defined function and maintain index association
describe the Purpose of the uksort() Function
Sorts an array by keys using a user-defined function
describe the Purpose of the usort() Function
Sorts an array by values using a user-defined function