?
What will be the output of the following PHP code?
What will be the output of the following PHP code?
<?php
$str = addslashes('What does "yolo" mean?');
echo($str);
?>
<?php
$str = addslashes('What does "yolo" mean?');
echo($str);
?>
Answer & Solution
Correct Answer:
Option
C
The addslashes() function returns a string with backslashes in front of predefined characters.
Join the Discussion
Login to post a comment or share your explanation.
Login