• 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

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/18

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

18 Cards in this Set

  • Front
  • Back

Use this function to find out how many elements an array contains

sizeof($array)

Use this function to retrieve all the values from an associative array

array_values($array)

Use this function to retrieve all the keys from an associative array

array_keys($array)

Use this function to remove an element from the end of an array

array_pop($array)

This function adds an element to the end of an array

array_push($array, $value)

This function removes an element from the beginning of an array

array_shift($array)

This function adds an element to the beginning of an array

array_unshift($array, $value)

This function returns an array containing all the elements of array1 after applying the callback function to each one. You can pass more than one array. The number of parameters that the callback function accepts should match the number of arrays passed to the array_map()

array_map($callback, $array1)

This function sorts the elements of an array in ascending order. String values will be arranged in ascending alphabetical order. Other sorting functions include asort(), arsort(), ksort(), krsort() and rsort()

sort($array)

This function reverses the order of elements in an array

array_reverse($array)

Use this function when you need to combine data from two or more arrays into a single structure

array_merge($array)

This function selects one or more random elements from an array

array_rand($array)

This function searches the values in an array for a match to the search term, and returns the corresponding key if found. If more than one match exists, the key of the first matching value is returned

array_search($search, $array)

Use this function to break a larger array into smaller ones

array_slice($array, $offset, $length)

Use this function when you need to remove non-unique elements from an array

array_unique($array)

Import variables into the current symbol table from an array. For Better understanding read the doc about this function. It is very nice. Its opposite is compact()

extract($array)

This functions returns TRUE if the given key is set in the array

array_key_exists($key, $array)

This functions returns TRUE if the given value exists in the array

in_array($searched_value, $array)