NAME

Question types


Start with


Question limit

of 38 available terms

Advertisement Upgrade to remove ads
Print test

5 Written questions

5 Matching questions

  1. array_search()
  2. count()
  3. asort()
  4. intval()
  5. arsort()
  1. a 2 args: value, array -> key
  2. b used for associative arrays, same as sort(), but does not reassign keys
  3. c number, string, or mixed -> integer with letters discarded
  4. d accepts an array, returns number of elements
  5. e inverse of asort()

5 Multiple choice questions

  1. 2 args: delimiter, array. prints out elements of an array separated by the delimiter
  2. capitalizes the first letter of each word
  3. 2 args: regex, string -> 0 pattern didn't match or 1 pattern matched once
  4. makes letters uppercase in a string
  5. returns a string trimmed of leading and trailing whitespace

5 True/False questions

  1. strip_tags()converts an integer or float into a string

          

  2. dechex()repeating if()

          

  3. sort()sorts an array by element value and reassigns the element keys in order of sorting: zero to last element

          

  4. str_replace()takes 2 arguments: string, replacement string

          

  5. for()a loop that takes 3 expressions: initialization, test, and iteration

          

Create Set