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

Discussion :: PHP - CS

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

    <?php

    function b()

    {

    echo "b is executed";

    }

    function a()

    {

    b();

    echo "a is executed";

    b();

    }

    a();

    ?>

  2. A.

     b is executedb is executedb is executed

    B.

     b is executeda is executed

    C.

     a is executed

    D.

     b is executeda is executedb is executed

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    imple order of execution.


Be The First To Comment