--without-regex does not remove POSIX Regex (on Linux)
| From: | Gunther Steil | Date: | Thu, 23 Aug 2012 16:31:56 +0000 |
| Subject: | --without-regex does not remove POSIX Regex (on Linux) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-20179@lists.php.net to get a copy of this message | ||
It is not possible to compile PHP without regex even when using the build
flag --without-regex. Instead, regex will always be included as if set
--with-regex.
This seems rather strange to me, since (POSIX) regex support is deprecated
as of PHP 5.3, according to the documentation.
Does anybody know the reason for this inconsistent behaviour?
Does anybody have experience in disabling this extension?
Wouldn't it be desirable to be able to disable regex in order to prevent
further usage (this was my orginal intent).