note 47633 deleted from function.ereg-replace by kennyt

From: Date: Wed, 26 Jan 2005 03:53:58 +0000
Subject: note 47633 deleted from function.ereg-replace by kennyt
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-83980@lists.php.net to get a copy of this message
Note Submitter: users at examples dot com ---- Just a simple reminder that ereg_replace and preg_replace and str_replace when replacing newlines from particular inputs can have various differences depending if it is a windows or a linux newline. MY suggestion is to take into account both newlines which are ASCII 10 and 13 or chr(10) and chr(13).

« previous php.notes (#83980) next »