ExamVeda
Login
Home
This question belongs to PHP Functions
Functions
?

What will be the output of the following PHP code?
<?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.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
CS VN
CS VN 6 years ago
wrong anwser!