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

Discussion :: PHP - CS

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

    <?php

    function test($int)

    {

    if ($int == 1)

    echo "This Works";

    if ($int == 2)

    echo "This Too Seems To Work";

    }

    test(1);

    TEST(2);

    ?>

  2. A.

     This Works

    B.

     This Too Seems To Work

    C.

     This WorksThis Too Seems To Work

    D.

     ERROR

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Function Is case Insensitive.


Be The First To Comment