adplus-dvertising
frame-decoration

Question

What will be the output of the following PHP code ?
<?php
function string()
{
    echo strstr("Hello world!", 111);
}
string();
?>

a.

o world!

b.

Hello world!

c.

111

d.

No Output

Posted under PHP

Answer: (a).o world!

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following PHP code ?

Similar Questions

Discover Related MCQs