note 93861 added to function.preg-replace

From: Date: Sun, 04 Oct 2009 07:32:02 +0000
Subject: note 93861 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-161258@lists.php.net to get a copy of this message
That function wil do preg_replace about all the string and not only one function preg_replace_all($pattern,$replace,$text){ while(preg_match($pattern,$text)){ $text = preg_replace($pattern,$replace,$text); } return $text; } ---- Server IP: 82.80.248.162 Probable Submitter: 84.111.123.49 ---- Manual Page -- http://www.php.net/manual/en/function.preg-replace.php Edit -- https://master.php.net/note/edit/93861 Del: integrated -- https://master.php.net/note/delete/93861/integrated Del: useless -- https://master.php.net/note/delete/93861/useless Del: bad code -- https://master.php.net/note/delete/93861/bad+code Del: spam -- https://master.php.net/note/delete/93861/spam Del: non-english -- https://master.php.net/note/delete/93861/non-english Del: in docs -- https://master.php.net/note/delete/93861/in+docs Del: other reasons-- https://master.php.net/note/delete/93861 Reject -- https://master.php.net/note/reject/93861 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161258) next »