Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/74

Click to flip

74 Cards in this Set

  • Front
  • Back
Returns an array with all string keys lowercased or uppercased
<b>array_change_key_case()</b>

array_change_key_case ( array $input [, int $case] )
Splits the array into several arrays with size values in them -- You get the arrays as members of a multidimensional array indexed with numbers starting from zero.
array_chunk ( array $input, int $size [, bool $preserve_keys] )

array_chunk()
Creates an array by using one array for keys and another for its values
array_combine ( array $keys, array $values )
Counts all the values of an array
array_count_values ( array $input )
Computes the difference of arrays with additional index check
array_diff_assoc ( array $array1, array $array2 [, array $ ...] )
Computes the difference of arrays using keys for comparison
array_diff_key ( array $array1, array $array2 [, array $ ...] )
Computes the difference of arrays with additional index check which is performed by a user supplied callback function
array_diff_uassoc ( array $array1, array $array2 [, array $..., callback $key_compare_func] )
Computes the difference of arrays using a callback function on the keys for comparison
array_diff_ukey ( array $array1, array $array2 [, array $ ..., callback $key_compare_func] )
Computes the difference of arrays
array_diff ( array $array1, array $array2 [, array $ ...] )
Fill an array with values, specifying keys
array_fill_keys ( array $keys, mixed $value )
Fill an array with values
array_fill ( int $start_index, int $num, mixed $value )
Filters elements of an array using a callback function
array_filter ( array $input [, callback $callback] )
Exchanges all keys with their associated values in an array
array_flip ( array $trans )
Computes the intersection of arrays with additional index check
array_intersect_assoc ( array $array1, array $array2 [, array $ ...] )
Computes the intersection of arrays with additional index check, compares indexes by a callback function
array_intersect_uassoc ( array $array1, array $array2 [, array $ ..., callback $key_compare_func] )
Computes the intersection of arrays using a callback function on the keys for comparison
array_intersect_ukey ( array $array1, array $array2 [, array $..., callback $key_compare_func] )
Computes the intersection of arrays
array_intersect ( array $array1, array $array2 [, array $ ...] )
Checks if the given key or index exists in the array
array_key_exists ( mixed $key, array $search )
Return all the keys of an array
array_keys ( array $input [, mixed $search_value [, bool $strict]] )
Applies the callback to the elements of the given arrays
array_map ( callback $callback, array $arr1 [, array $...] )
Merge two or more arrays recursively
array_merge_recursive ( array $array1 [, array $...] )
Merge one or more arrays
array_merge ( array $array1 [, array $array2 [, array $...]] )
Sort multiple or multi-dimensional arrays
array_multisort ( array $ar1 [, mixed $arg [, mixed $... [, array $...]]] )
Pad array to the specified length with a value
array_pad ( array $input, int $pad_size, mixed $pad_value )
Pop the element off the end of array
array_pop ( array &$array )
Calculate the product of values in an array
array_product ( array $array )
Push one or more elements onto the end of array
array_push ( array &$array, mixed $var [, mixed $...] )
Pick one or more random entries out of an array
array_rand ( array $input [, int $num_req] )
Iteratively reduce the array to a single value using a callback function
array_reduce ( array $input, callback $function [, int $initial] )
Return an array with elements in reverse order
array_reverse ( array $array [, bool $preserve_keys] )
Searches the array for a given value and returns the corresponding key if successful
array_search ( mixed $needle, array $haystack [, bool $strict] )
Shift an element off the beginning of array
array_shift ( array &$array )
Extract a slice of the array
array_slice ( array $array, int $offset [, int $length [, bool $preserve_keys]] )
Remove a portion of the array and replace it with something else
array_splice ( array &$input, int $offset [, int $length [, array $replacement]] )
Calculate the sum of values in an array
array_sum ( array $array )
Computes the difference of arrays with additional index check, compares data by a callback function
array_udiff_assoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] )
Computes the difference of arrays with additional index check, compares data and indexes by a callback function
array_udiff_uassoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func, callback $key_compare_func] )
Computes the difference of arrays by using a callback function for data comparison
array_udiff ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] )
Computes the intersection of arrays with additional index check, compares data by a callback function
array_uintersect_assoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] )
Computes the intersection of arrays with additional index check, compares data and indexes by a callback functions
array_uintersect_uassoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func, callback $key_compare_func] )
Computes the intersection of arrays, compares data by a callback function
array_uintersect ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] )
Removes duplicate values from an array
array_unique ( array $array )
Prepend one or more elements to the beginning of an array
array_unshift ( array &$array, mixed $var [, mixed $...] )
Return all the values of an array
array_values ( array $input )
Apply a user function recursively to every member of an array
array_walk_recursive ( array &$input, callback $funcname [, mixed $userdata] )
Apply a user function to every member of an array
array_walk ( array &$array, callback $funcname [, mixed $userdata] )
Create an array
array ( [mixed $...] )
Sort an array in reverse order and maintain index association
arsort ( array &$array [, int $sort_flags] )
Sort an array and maintain index association
asort ( array &$array [, int $sort_flags] )
Create array containing variables and their values
compact ( mixed $varname [, mixed $...] )
Count elements in an array, or properties in an object
count ( mixed $var [, int $mode] )
Return the current element in an array
current ( array &$array )
Return the current key and value pair from an array and advance the array cursor
each ( array &$array )
Set the internal pointer of an array to its last element
end ( array &$array )
Import variables into the current symbol table from an array
extract ( array $var_array [, int $extract_type [, string $prefix]] )
Checks if a value exists in an array
in_array ( mixed $needle, array $haystack [, bool $strict] )
Fetch a key from an associative array
key ( array &$array )
Sort an array by key in reverse order
krsort ( array &$array [, int $sort_flags] )
Sort an array by key
ksort ( array &$array [, int $sort_flags] )
Assign variables as if they were an array
list ( mixed $varname, mixed $... )
Sort an array using a case insensitive "natural order" algorithm
natcasesort ( array &$array )
Sort an array using a "natural order" algorithm
natsort ( array &$array )
Advance the internal array pointer of an array
next ( array &$array )
pos
Alias of current()
Rewind the internal array pointer
prev ( array &$array )
Create an array containing a range of elements
range ( mixed $low, mixed $high [, number $step] )
Set the internal pointer of an array to its first element
reset ( array &$array )
Sort an array in reverse order
rsort ( array &$array [, int $sort_flags] )
Shuffle an array
shuffle ( array &$array )
sizeof
Alias of count()
Sort an array
sort ( array &$array [, int $sort_flags] )
Sort an array with a user-defined comparison function and maintain index association
uasort ( array &$array, callback $cmp_function )
Sort an array by keys using a user-defined comparison function
uksort ( array &$array, callback $cmp_function )
Sort an array by values using a user-defined comparison function
usort ( array &$array, callback $cmp_function )