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. rsort()
  2. sort()
  3. strtolower()
  4. substr()
  5. if()
  1. a takes 3 arguments: string, starting position, number of characters to return
  2. b reverse sorting of sort()
  3. c returns true or false
  4. d makes letters lowercase in a string
  5. e sorts an array by element value and reassigns the element keys in order of sorting: zero to last element

5 Multiple choice questions

  1. used for associative arrays, same as sort(), but does not reassign keys
  2. compares 2 strings, returns +#, -#, or 0 based on comparison
  3. returns a string trimmed of leading and trailing whitespace
  4. capitalizes the first letter of each word
  5. converts an integer or float into a string

5 True/False questions

  1. strip_tags()removes html tags from a string

          

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

          

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

          

  4. krsort()inverse of ksort()

          

  5. floatval()number, string, or mixed -> floating point number with letters discarded

          

Create Set