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

Discussion :: PHP - CS

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

    <?php

    echo stripos("I love php, I love php too!","PHP");

    ?>

  2. A.

     3

    B.

     7

    C.

     8

    D.

     10

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The stripos() function finds the position of the first occurrence of a string inside another string.


Be The First To Comment