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()
  2. htmlentities()
  3. if()
  4. strlen()
  5. in_array()
  1. a accepts 2 args: value, array -> true or false. Value is case sensitive for strings.
  2. b returns true or false
  3. c returns length of string
  4. d encodes special html characters of a string
  5. e used for adding multiple elements to an array as comma delimited 'key => value' lists

5 Multiple choice questions

  1. capitalizes the first letter of each word
  2. removes an array element
  3. repeating if()
  4. returns a number string in comma format
  5. inverse of ksort()

5 True/False questions

  1. floatval()number, string, or mixed -> integer with letters discarded

          

  2. strcmp()returns length of string

          

  3. intval()converts an integer or float into a string

          

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

          

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