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.
Â
⇒Understanding PHP String Literals and Operations
⇒⇒PHP Tutorials
2016-10-13, 2360👍, 0💬
Popular Posts:
What is EPUB 2.0 Metadata "dc:date" Element? EPUB 2.0 Metadata "dc:date" is an optional metadata ele...
How to View Atom Feeds with IE (Internet Explorer)? If you want to view Atom Feeds with IE (Internet...
How to search for the first match of a regular expression using re.search()? The re.search() functio...
What Is the 2017 Version of Azure API Management Service? The 2017 Version of Azure API Management a...
How To Add Column Headers to a Table? If you want to add column headers to a table, you need to use ...