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, 1411👍, 0💬
Popular Posts:
How to use the "@(...)" expression in Azure API Policy? The "@(...)" expression in Azure API Policy ...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...
How to use the "send-request" Policy statement to call an extra web service for an Azure API service...
What are "*..." and "**..." Wildcard Parameters in Function Definitions? If you want to define a fun...
How to add images to my EPUB books Images can be added into book content using the XHTML "img" eleme...