Discussion :: PHP - CS
-
What will be the output of the following PHP code?
<?php
$str = addslashes('What does "yolo" mean?');
echo($str);
?>
A.
What does /”yolo/” mean? |
B.
What does ”yolo” mean? |
C.
What does ”yolo” mean? |
D.
What does ”yolo” mean? |
Answer : Option C
Explanation :
The addslashes() function returns a string with backslashes in front of predefined characters.
Be The First To Comment