Skip to content

Commit 59c30c0

Browse files
committed
note about php_pcre_replace*
1 parent 754e1c4 commit 59c30c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ PHP 7.2 INTERNALS UPGRADE NOTES
5151
3. Module changes
5252
========================
5353

54+
- Pcre:
55+
. php_pcre_replace and php_pcre_replace_impl expect a zend_string instead of a zval and
56+
is_callable_replace options is removed:
57+
- 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);
58+
- 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);
59+
5460
- Session:
5561
. php_session_start()/session_reset_id() return value is changed from void to int.
5662
It returns SUCCESS/FAILURE.

0 commit comments

Comments
 (0)