nerdexam
Zend

200-530 · Question #3730

Consider the following code: strspn($test, 'aeiou', 1); The variable $test contains the string "You get certified". What will the function call return?

The correct answer is E. 2. See the full explanation below for the reasoning.

Question

Consider the following code: strspn($test, 'aeiou', 1); The variable $test contains the string "You get certified". What will the function call return?

Options

  • Atrue
  • Bfalse
  • C0
  • D1
  • E2
  • F3

How the community answered

(31 responses)
  • A
    10% (3)
  • D
    3% (1)
  • E
    84% (26)
  • F
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice