PrepAway - Latest Free Exam Questions & Answers

What is the output of the following code?

What is the output of the following code:
<code>
str_replace(array(“Apple”,”Orange”), array(“Orange”,”Apple”), “Oranges are orange and Apples are green”);
</code>

PrepAway - Latest Free Exam Questions & Answers

A.
Apples are orange and Oranges are green

B.
Apples are orange and Apples are green

C.
Apples are apple and Oranges are green

D.
Apples are apple and Apples are green

One Comment on “What is the output of the following code?


Leave a Reply

Your email address will not be published. Required fields are marked *