Tools, FAQ, Tutorials:
"new line" Character in Single-Quoted Strings in PHP
Can You Specify the "new line" Character in Single-Quoted Strings?
✍: FYIcenter.com
You can not specify the "new line" character in a single-quoted string. If you don't believe, try this script:
<?php echo '\n will not work in single quoted strings.'; ?>
This script will print:
\n will not work in single quoted strings.
⇒ Special Characters in Double-Quoted Strings in PHP
⇐ Escape Sequences in Single-Quoted Strings in PHP
2016-10-13, 3395🔥, 0💬
Popular Posts:
How to use the "@(...)" expression in Azure API Policy? The "@(...)" expression in Azure API Policy ...
How to decode the id_token value received from Google OpenID Connect authentication response? Accord...
How to use the "set-body" Policy Statement for an Azure API service operation? The "set-body" Policy...
Where to get the detailed description of the json_encode() Function in PHP? Here is the detailed des...
How to Install Docker Desktop 2.5.0 on Windows 10? You can follow this tutorial to Install Docker De...