nerdexam
Zend

200-550 · Question #45

What will the following code print out? $str = '✔ one of the following'; echo str_replace('✔', 'Check', $str);

The correct answer is A. Check one of the following. See the full explanation below for the reasoning.

Question

What will the following code print out? $str = '✔ one of the following'; echo str_replace('✔', 'Check', $str);

Options

  • ACheck one of the following
  • Bone of the following
  • C✔ one of the following

How the community answered

(47 responses)
  • A
    81% (38)
  • B
    13% (6)
  • C
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice