Re: removing ereg functions

From: Date: Wed, 16 May 2001 16:58:49 +0000
Subject: Re: removing ereg functions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-55509@lists.php.net to get a copy of this message
> wouldn't it be in at least the best interest to have split and other functions to use preg > instead of ereg? > this might add some bloat to code, but it might be an interesting default speedup. No, because POSIX and Perl-style regular expressions are not compatible. That's why we have a preg_split() function. > by all means, keep ereg. unless you can get ereg to act just like preg, you can't get rid > of it. And vice versa. The two libs are not compatible. -Rasmus

« previous php.dev (#55509) next »