2012.08.23. 18:32, "Gunther Steil" <gsteil@xxxxxxxxxxxxx> ezt írta:
>
> 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).
>
See http://www.mail-archive.com/internals@xxxxxxxxxxxxx/msg55415.html
Some internal stuff depends on it.
- References:
- --without-regex does not remove POSIX Regex (on Linux)
- From: Gunther Steil
- --without-regex does not remove POSIX Regex (on Linux)
- Prev by Date: --without-regex does not remove POSIX Regex (on Linux)
- Next by Date: make test fails on 5.4.6 with old bugs
- Previous by thread: --without-regex does not remove POSIX Regex (on Linux)
- Next by thread: make test fails on 5.4.6 with old bugs
- Index(es):