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, ∼3538🔥, 0💬
Popular Posts:
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3...
How to add images to my EPUB books Images can be added into book content using the XHTML "img" eleme...
How To Create an Array with a Sequence of Integers or Characters in PHP? The quickest way to create ...
How to use .NET CLR Types in Azure API Policy? By default, Azure imports many basic .NET CLR (Common...
How To Protect Special Characters in Query String in PHP? If you want to include special characters ...