Instalarea / configurarea
PHP Manual

Instalarea

Beginning with PHP 4.2.0 these functions are enabled by default. You can disable the pcre functions with --without-pcre-regex . Use --with-pcre-regex=DIR to specify DIR where PCRE's include and library files are located, if not using bundled library. For older versions you have to configure and compile PHP with --with-pcre-regex[=DIR] in order to use these functions.

Versiunea PHP pentru Windows susține implicit această extensie. Nu este nevoie să încărcați extensii suplimentare pentru a putea utiliza aceste funcții.

Notă:

As of PHP 5.3.0 this extension cannot be disabled and is therefore always present.

It is still possible to build against an external PCRE library by using --with-pcre-regex=DIR

PCRE is an active project and as it changes so does the PHP functionality that relies upon it. It is possible that certain parts of the PHP documentation is outdated, in that it may not cover the newest features that PCRE provides. For a list of changes, see the » PCRE library changelog and also the following bundled PCRE history:

Upgrade history of the bundled PCRE library
PHP Versiunea Updated PCRE Versiunea Notes
5.5.0 / 5.4.14 / 5.3.24 8.32  
5.4.9 / 5.3.19 8.31  
5.3.7 8.12  
5.3.6 8.11  
5.3.4 8.10  
5.3.3 8.02  
5.3.2 8.00  
5.3.0 7.9  
5.2.7 7.8  
5.2.6 7.6  
5.2.5 7.3  
5.2.4 7.2  
5.2.2 7.0  
5.2.0 6.7  
5.1.0 6.2  
5.0.5 5.0  
5.0.0 4.5  
4.4.7 7.7  


Instalarea / configurarea
PHP Manual