Question types

Start with

Question limit

of 38 available terms

Advertisement Upgrade to remove ads
Print test

5 Written questions

5 Matching questions

  1. strlen()
  2. if()
  3. strtolower()
  4. dechex()
  5. htmlentities()
  1. a returns true or false
  2. b accepts decimal number -> hexadecimal form
  3. c returns length of string
  4. d makes letters lowercase in a string
  5. e encodes special html characters of a string

5 Multiple choice questions

  1. removes an array element
  2. capitalizes the first letter of each word
  3. removes html tags from a string
  4. accepts string -> string with each \n replaced by <br>
  5. repeating if()

5 True/False questions

  1. explode()2 args: delimiter, array. creates an array using the delimiter to distinguish elements


  2. array_key_exists()accepts 2 args: key, array -> true or false


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


  4. in_array()used for adding multiple elements to an array as comma delimited 'key => value' lists


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