Kill ereg with fire
| From: | Tjerk Meesters | Date: | Sun, 31 Aug 2014 05:08:00 +0000 |
| Subject: | Kill ereg with fire | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-76980@lists.php.net to get a copy of this message | ||
Hi internals (again),
Recently I’ve done a small assessment on how feasible it is to remove ext/ereg from the project
for the next major version. This is the result (so far):
https://github.com/datibbaw/php-src/compare/kill-ereg
I’ve replaced two instances of ereg with their pcre equivalents, OPcache and PGSQL.
Btw, simply using ‘pcreposix.h’ didn’t work out for OPcache, I would get this error:
Error Blacklist compilation: invalid argument to regex routine
Perhaps I’ve missed something obvious, but porting it wasn’t hard either.
Thoughts?