Q. What will be the output of the following PHP code?
Code:
<?php
$str = addslashes('Hello "mcqbuddy!"');
echo($str);
?>
β
Correct Answer: (D)
Hello \"mcqbuddy!\"
<?php
$str = addslashes('Hello "mcqbuddy!"');
echo($str);
?>
You must be Logged in to update hint/solution