RE: [PHP] better understanding of ereg_replace and other functions

From: Date: Sat, 16 Aug 2003 14:10:51 +0000
Subject: RE: [PHP] better understanding of ereg_replace and other functions
Groups: php.general 
Request: Send a blank email to php-general+get-159793@lists.php.net to get a copy of this message
Try these : preg_replace http://www.weberdev.com/AdvancedSearch.php?searchtype=example&sort=examp le&example=preg_replace str_replace http://www.weberdev.com/AdvancedSearch.php?searchtype=example&sort=examp le&example=str_replace strpos http://www.weberdev.com/AdvancedSearch.php?searchtype=example&sort=examp le&example=strpos Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search for PHP Code from your browser http://toolbar.weberdev.com -----Original Message----- From: Binay Agarwal [mailto:binay@m-web.com] Sent: Saturday, August 16, 2003 2:39 AM To: php-general@lists.php.net Subject: [PHP] better understanding of ereg_replace and other functions Hi everybody, Lot of places in manual i came across using "ereg_replace" or "ereg" is very resource intensive and hence its better to use "preg_replace" or "str_replace" or "strpos" if they do the jobs. Now i am very curious to look at the source code (implementation) of these function so as to be able to decide the right choice for me. Can any one of you tell me where to find the source code of these functions. Do they require special privileges ?? Please help me out Binay

« previous php.general (#159793) next »