"/>
Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

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

    <?php

    function string()

    {

    echo strstr("Hello world!", 111);

    }

    string();

    ?>

  2. A.

     o world!

    B.

     Hello world!

    C.

     111

    D.

     No Output

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    111 is the ASCII value of o.


Be The First To Comment