It is required because both pcre_compile and pcre_compile2 are exported (non static) functions that need compat'ized. Just ran into the problem where PHP was calling the wrong pcre_compile2 function because a new version of our apache loads a module that loads a different build of PCRE before PHP is loaded.

pcre_compile2 is a 6.6 thing that was update in version 4.4.0+

Brian


On May 31, 2006, at 1:27 PM, Derick Rethans wrote:

On Wed, 31 May 2006, Andrei Zmievski wrote:

andrei          Wed May 31 17:17:46 2006 UTC

  Modified files:              (Branch: PHP_4_4)
    /php-src/main       php_compat.h
  Log:
  Add pcre_compile2() to the list of aliases.

Just wondering... what is this needed for?

Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to