Re: Why is ereg being deprecated?
| From: | Olivier B. | Date: | Mon, 12 Oct 2009 17:34:08 +0000 |
| Subject: | Re: Why is ereg being deprecated? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45764@lists.php.net to get a copy of this message | ||
Christian Schneider a écrit :
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 theI guess that's exactly the reason why it is deprecated now: To indicate that preg_* are the way to go. And as far as I know, using ereg_* function is discouraged in the documentation since PHP 4, 10 years ago, no ?