note 63347 deleted from function.fwrite by bjori

From: Date: Wed, 22 Mar 2006 17:47:35 +0000
Subject: note 63347 deleted from function.fwrite by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-106279@lists.php.net to get a copy of this message
Note Submitter: rob ---- Re: 18-Feb-2006 11:41 Special characters like \r and \n are only parsed as carriage-return and line-feed/newline when enclosed in double-quotes. See table 11-1 on http://www.php.net/manual/en/language.types.string.php for more details. When you use single quotes, it treats everything inside the single quotes literally. So it's not escaping the \r, it just sees it as a backslash and an r.

« previous php.notes (#106279) next »