Mark Krenz wrote: > But I'm willing to bet that the majority of people are using ereg, not > PCRE. I've known about PCRE in PHP for a while now, but I continue to > use ereg because I thought it had better support in PHP and that it was > the more "official" function. Guess I was wrong. I'm sure I'm not the
I guess that's exactly the reason why it is deprecated now: To indicate that preg_* are the way to go. > Again, this isn't a debate on which is better, I only want to STRONGLY > stress that I think its a big mistake to remove it in 6.0. If you wanted As far as I understand ereg will be moved to a PECL-extension to keep it around for people who can't switch. > If ereg isn't ready yet then 6.0 should be delayed until it is ready. It probably never will be... Don't get too worked up on this because (as far as I understand the messages on internals) PHP 6 will not be a drop-in replacement for PHP 5.3 anyway. Hosters will have to configure it (like installing the PECL-extension), developers will have to adapt some code. I'm not sure if I'm right but that's how I understand the plans, - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php