note 94544 added to function.ereg-replace

From: Date: Wed, 11 Nov 2009 12:20:34 +0000
Subject: note 94544 added to function.ereg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-162749@lists.php.net to get a copy of this message
I have used ereg_replace and other ereg(i) functions extensively up until now, but PHP announces this function is now depreciated as of 5.3+. Can anyone suggest the best alternatives, ideally that use the same arguments so I can simply change the name of the function in my hundreds of scripts that use this. Many thanks ---- Server IP: 69.147.83.197 Probable Submitter: 84.92.85.167 ---- Manual Page -- http://www.php.net/manual/en/function.ereg-replace.php Edit -- https://master.php.net/note/edit/94544 Del: integrated -- https://master.php.net/note/delete/94544/integrated Del: useless -- https://master.php.net/note/delete/94544/useless Del: bad code -- https://master.php.net/note/delete/94544/bad+code Del: spam -- https://master.php.net/note/delete/94544/spam Del: non-english -- https://master.php.net/note/delete/94544/non-english Del: in docs -- https://master.php.net/note/delete/94544/in+docs Del: other reasons-- https://master.php.net/note/delete/94544 Reject -- https://master.php.net/note/reject/94544 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162749) next »