summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2017-06-25 08:27:52 +0200
committerRemi Collet <remi@php.net>2017-06-25 08:27:52 +0200
commit59c30c01b33d630d8ea10921f411d13899dea08c (patch)
treeafbac455aeed15794238bb8298cad0e70c56c0b1
parent754e1c463d1bbfcc92bf83ca9ee56e4932c7d425 (diff)
downloadphp-git-59c30c01b33d630d8ea10921f411d13899dea08c.tar.gz
note about php_pcre_replace*
-rw-r--r--UPGRADING.INTERNALS6
1 files changed, 6 insertions, 0 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index e4860fd1aa..e182839f2a 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.