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, ∼4019🔥, 0💬
Popular Posts:
Where to find tutorials on JSON (JavaScript Object Notation) text string format? I want to know how ...
How to add a new operation to an API on the Publisher Dashboard of an Azure API Management Service? ...
How to access URL template parameters from "context.Request.Matched Parameters"object in Azure API P...
How To Read a File in Binary Mode in PHP? If you have a file that stores binary data, like an execut...
What Happens If One Row Has Missing Columns? What happens if one row has missing columns? Most brows...