Re: disabling ereg
| From: | Stas Malyshev | Date: | Tue, 10 Jan 2012 19:51:55 +0000 |
| Subject: | Re: disabling ereg | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57332@lists.php.net to get a copy of this message | ||
Hi!
(1) ereg is deprecated, and usage is discouraged (2) It emits E_DEPRECATED errors as of PHP 5.3 (3) We cannot disable/remove ereg at compile time (today) I'm suggesting we alter (3) so that we, the people who compile PHP, can optionally remove this extension from our PHP 5.4+.OK, propose a patch :) Note that pgsql seems to be using regex, and may be other modules, so it should be made to use PCRE instead I guess. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227