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

Discussion :: PHP - CS

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

    <?php

    $str = addslashes('What does "yolo" mean?');

    echo($str);

    ?>

  2. A.

     What does /”yolo/” mean?

    B.

     What does ”yolo” mean?

    C.

     What does ”yolo” mean?

    D.

     What does ”yolo” mean?

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The addslashes() function returns a string with backslashes in front of predefined characters.


Be The First To Comment