com php-src: note about php_pcre_replace*: UPGRADING. INTERNALS

From: Date: Sun, 25 Jun 2017 06:27:52 +0000
Subject: com php-src: note about php_pcre_replace*: UPGRADING. INTERNALS
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98194@lists.php.net to get a copy of this message
Commit: 59c30c01b33d630d8ea10921f411d13899dea08c Author: Remi Collet <remi@php.net> Sun, 25 Jun 2017 08:27:52 +0200 Parents: 754e1c463d1bbfcc92bf83ca9ee56e4932c7d425 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=59c30c01b33d630d8ea10921f411d13899dea08c Log: note about php_pcre_replace* Changed paths: M UPGRADING.INTERNALS Diff: diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index e4860fd..e182839 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -51,6 +51,12 @@ PHP 7.2 INTERNALS UPGRADE NOTES 3. Module changes ======================== +- Pcre: + . php_pcre_replace and php_pcre_replace_impl expect a zend_string instead of a zval and + is_callable_replace options is removed: + - PHPAPI zend_string *php_pcre_replace(zend_string *regex, zend_string *subject_str, char *subject, int subject_len, zend_string *replace_str, int limit, int *replace_count); + - PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, char *subject, int subject_len, zend_string *replace_str, int limit, int *replace_count); + - Session: . php_session_start()/session_reset_id() return value is changed from void to int. It returns SUCCESS/FAILURE.

« previous php.cvs (#98194) next »