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. ucwords()
  3. strval()
  4. floatval()
  5. preg_match()
  1. a converts an integer or float into a string
  2. b removes an array element
  3. c number, string, or mixed -> floating point number with letters discarded
  4. d 2 args: regex, string -> 0 pattern didn't match or 1 pattern matched once
  5. e capitalizes the first letter of each word

5 Multiple choice questions

  1. accepts 2 args: key, array -> true or false
  2. repeating if()
  3. number, string, or mixed -> integer with letters discarded
  4. removes html tags from a string
  5. sorts an array by keys

5 True/False questions

  1. strtolower()makes letters lowercase in a string


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


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


  4. foreach($array as $key => $value)accepts 2 args: key, array -> true or false


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


Create Set