nerdexam
Zend

200-710 · Question #206

What is the return value of the following code? strpos("me myself and I", "m", 2);

The correct answer is B. 3. You've hit your weekly limit · resets 5am (America/New_York)

Strings & Patterns

Question

What is the return value of the following code? strpos("me myself and I", "m", 2);

Options

  • A2
  • B3
  • C4
  • D0
  • E1

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    74% (23)
  • C
    13% (4)
  • D
    3% (1)
  • E
    3% (1)

Explanation

You've hit your weekly limit · resets 5am (America/New_York)

Topics

#strpos#offset parameter#string search#return value

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice