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. unset()
  2. count()
  3. strtoupper()
  4. explode()
  5. implode()
  1. a accepts an array, returns number of elements
  2. b 2 args: delimiter, array. prints out elements of an array separated by the delimiter
  3. c makes letters uppercase in a string
  4. d 2 args: delimiter, array. creates an array using the delimiter to distinguish elements
  5. e removes an array element

5 Multiple choice questions

  1. returns 0 if two strings are equal, ignoring case
  2. repeating if()
  3. 2 args: value, array -> key
  4. 2 args: regex, string -> 0 pattern didn't match or 1 pattern matched once
  5. sorts an array by keys

5 True/False questions

  1. ucwords()accepts an array, returns number of elements

          

  2. htmlentities()returns length of string

          

  3. krsort()reverse sorting of sort()

          

  4. str_replace()removes html tags from a string

          

  5. nl2br()accepts string -> string with each \n replaced by <br>