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. str_replace()
  3. arsort()
  4. unset()
  5. count()
  1. a accepts an array, returns number of elements
  2. b inverse of asort()
  3. c 2 args: value, array -> key
  4. d removes an array element
  5. e takes 2 arguments: string, replacement string

5 Multiple choice questions

  1. 2 args: delimiter, array. creates an array using the delimiter to distinguish elements
  2. accepts string -> string with each \n replaced by <br>
  3. converts an integer or float into a string
  4. used for adding multiple elements to an array as comma delimited 'key => value' lists
  5. makes letters lowercase in a string

5 True/False questions

  1. strip_tags()removes html tags from a string

          

  2. htmlentities()encodes special html characters of a string

          

  3. preg_match()2 args: regex, string -> 0 pattern didn't match or 1 pattern matched once

          

  4. number_format()inverse of asort()

          

  5. sort()used for associative arrays, same as sort(), but does not reassign keys

          

Create Set