Question types

Start with

Question limit

of 38 available terms

Advertisement Upgrade to remove ads
Print test

5 Written questions

5 Matching questions

  1. abs()
  2. substr()
  3. unset()
  4. ucwords()
  5. printf()
  1. a returns absolute value of an argument
  2. b returns formatted string, % is replaced by an item to print
  3. c takes 3 arguments: string, starting position, number of characters to return
  4. d removes an array element
  5. e capitalizes the first letter of each word

5 Multiple choice questions

  1. used for adding multiple elements to an array as comma delimited 'key => value' lists
  2. 2 args: delimiter, array. creates an array using the delimiter to distinguish elements
  3. a loop that takes 3 expressions: initialization, test, and iteration
  4. accepts 2 args: key, array -> true or false
  5. makes letters lowercase in a string

5 True/False questions

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


  2. while()repeating if()


  3. dechex()repeating if()


  4. nl2br()returns absolute value of an argument


  5. strlen()returns length of string


Create Set