PHP String and Regular Expression

Programming Language > PHP

This is the MCQ questions and answers section on "PHP Strings & Regular Expressions" with the explanation for various interview, competitive examination and entrance test. Solved examples with detailed answer description, explanation are given and it would be easy to understand. ➲ PHP String and Regular Expression - Quiz


  • A 7
  • B 8
  • C 9
  • D 10
  • A (i) and (ii)
  • B (iii) and (iv)
  • C None of the mentioned
  • D All of the mentioned
  • A strtoupper()
  • B uppercase()
  • C str_uppercase()
  • D struppercase()
  • A O
  • B O
  • C O
  • D o
  • A SaladSaladSaladSaladSalad is good
  • B is good SaladSaladSaladSaladSalad
  • C is good Salad
  • D Salad is good
  • A nachiketh@example.com
  • B nachiketh
  • C nachiketh@
  • D example.com
  • A (i) and (ii)
  • B (ii) and (iv)
  • C (i) and (iv)
  • D (ii) and (iii)
  • A [A-Za-z0-9]
  • B [A-za-z]
  • C [A-z]
  • D [a-z]
  • A 7
  • B 8
  • C 9
  • D 10
  • A PHP 4
  • B PHP 5
  • C PHP 5.2
  • D PHP 5.3
  • A Portable Operating System Interface for Unix
  • B Portable Operating System Interface for Linux
  • C Portative Operating System Interface for Unix
  • D Portative Operating System Interface for Linux