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, 2895🔥, 0💬
Popular Posts:
FYIcenter JSON Validator and Formatter is an online tool that checks for syntax errors of JSON text ...
How to create a navigation file like navigation.xhtml for an EPUB 3.0 book? At least one navigation ...
How to use the "set-body" Policy Statement for an Azure API service operation? The "set-body" Policy...
What are "*..." and "**..." Wildcard Parameters in Function Definitions? If you want to define a fun...
How to build a PHP script to dump Azure AD 2.0 Authentication Response? If you are use the Azure-AD-...