Tools, FAQ, Tutorials:
Special Characters in Double-Quoted Strings in PHP
What Are the Special Characters You Need to Escape in Double-Quoted Stings?
✍: FYIcenter.com
There are two special characters you need to escape in a double-quote string: the double quote (") and the back slash (\). Here is a PHP script example of double-quoted strings:
<?php echo "Hello world!"; echo "Tom said: \"Who's there?\""; echo "\\ represents an operator."; ?>
This script will print:
Hello world!Tom said: "Who's there?"\ represents an operator.
⇒ Escape Sequences in Double-Quoted Strings in PHP
⇐ "new line" Character in Single-Quoted Strings in PHP
2016-10-13, ∼2782🔥, 0💬
Popular Posts:
How To Merge Cells in a Column? If you want to merge multiple cells vertically in a row, you need to...
Where to find tutorials on Using Azure API Management Publisher Dashboard? Here is a list of tutoria...
How to decode the id_token value received from Google OpenID Connect authentication response? Accord...
How To Convert a Character to an ASCII Value? If you want to convert characters to ASCII values, you...
What is Azure API Management Developer Portal? Azure API Management Developer Portal is an Azure Web...