nerdexam
Zend

200-710 · Question #207

What is the return value of the following code: substr_compare("foobar", "bar", 3);

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

Strings & Patterns

Question

What is the return value of the following code: substr_compare("foobar", "bar", 3);

Options

  • A-1
  • B1
  • CTRUE
  • D0
  • EFALSE

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    5% (2)
  • D
    77% (30)
  • E
    13% (5)

Explanation

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

Topics

#substr_compare#string comparison#return value#offset

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice