note 47960 added to function.rtrim

From: Date: Tue, 07 Dec 2004 10:53:02 +0000
Subject: note 47960 added to function.rtrim
Groups: php.notes 
Request: Send a blank email to php-notes+get-81481@lists.php.net to get a copy of this message
About me at prestonhunt dot com's 20-Oct-2003 note: What you describe is the expected bahaviour. Actually rtrim does not know whether you are using single or double quotes. ' \t' is a string with space as the 1st character, backslash as the 2nd and t as the 3rd. \t is not an escape sequence in single quoted strings. But it is in double quoted strings. See documentation on string syntax for details. ---- Manual Page -- http://www.php.net/manual/en/function.rtrim.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47960 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47960&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47960&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47960&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47960&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47960&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47960&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47960&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#81481) next »