Home »
MCQs »
PHP MCQs
What will be the output of the following PHP code (10)?
43. What will be the output of the following PHP code?
<?php
$str = addcslashes("IncludeHelp","e");
echo($str);
?>
- Includehelp
- IncludeH\elp
- Includ\eHelp
- Includ\eH\elp
Answer: D) Includ\eH\elp
Explanation:
The addcslashes() function returns a string with backslashes in front of the specified characters.