note 69820 modified in function.str-replace by bobby

From: Date: Fri, 22 Sep 2006 15:02:34 +0000
Subject: note 69820 modified in function.str-replace by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-117433@lists.php.net to get a copy of this message
re: Fatidik's function [!!EDITOR'S NOTE - referenced note removed!!] No need to write a new function when the following gives the same result: str_replace(array("\r", "\n"), "", $string) --was-- re: Fatidik's function No need to write a new function when the following gives the same result: str_replace(array("\r", "\n"), "", $string) http://php.net/manual/en/function.str-replace.php

« previous php.notes (#117433) next »