note 102124 added to language.types.string
| From: | bbr at fokus dot fraunhofer dot de | Date: | Fri, 28 Jan 2011 09:40:57 +0000 |
| Subject: | note 102124 added to language.types.string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-176407@lists.php.net to get a copy of this message | ||
@realdreams: HTML always interprets a whitespace as one space. Except you use the
<pre>-Block-element so in your case:
echo "<pre>a\nbcd</pre>"
would give you the expected answer. but that has nothing to do with PHP but therefore with HTML
maybe you should start reading www.selfhtml.org ;).
----
Server IP: 212.124.37.9
Probable Submitter: 195.37.79.203
----
Manual Page -- http://www.php.net/manual/en/language.types.string.php
Edit -- https://master.php.net/note/edit/102124
Del: integrated -- https://master.php.net/note/delete/102124/integrated
Del: useless -- https://master.php.net/note/delete/102124/useless
Del: bad code -- https://master.php.net/note/delete/102124/bad+code
Del: spam -- https://master.php.net/note/delete/102124/spam
Del: non-english -- https://master.php.net/note/delete/102124/non-english
Del: in docs -- https://master.php.net/note/delete/102124/in+docs
Del: other reasons-- https://master.php.net/note/delete/102124
Reject -- https://master.php.net/note/reject/102124
Search -- https://master.php.net/manage/user-notes.php