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, ∼4426🔥, 0💬
Popular Posts:
How To Access a Global Variable inside a Function? in PHP? By default, global variables are not acce...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
Where to get the detailed description of the json_encode() Function in PHP? Here is the detailed des...
How to make application release build with Visual Studio 2017? If you want to make a final release b...
Where can I download the EPUB 2.0 sample book "The Problems of Philosophy" by Lewis Theme? You can f...