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

Discussion :: PHP - CS

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

    <?php

    $a = '12345';

    print "qwe{$a}rty";

    ?>

  2. A.

     qwe12345rty

    B.

     qwe{$a}rty

    C.

     error

    D.

     no output

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    {$}dereferences the variable within.


Be The First To Comment