com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/standard/string.c

From: Date: Tue, 02 Feb 2016 17:17:16 +0000
Subject: com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/standard/string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90911@lists.php.net to get a copy of this message
Commit: 0d1d814e1acbf8a3c75d5b9f770db322989e5b20 Author: Julien Pauli <jpauli@php.net> Tue, 2 Feb 2016 18:17:16 +0100 Parents: f7c3f54be9654861209a5c830ce1ec4bd6aec7f6 ed80ca00f40866001c024288171e35cfc0b078c4 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0d1d814e1acbf8a3c75d5b9f770db322989e5b20 Log: Merge branch 'PHP-5.6' into PHP-7.0 * PHP-5.6: Updated NEWS Fix #70720 Conflicts: ext/standard/string.c ext/standard/tests/strings/bug70720.phpt Bugs: https://bugs.php.net/70720 Changed paths: MM ext/standard/string.c Diff: diff --cc ext/standard/string.c index 03f04a8,bcfc3b6..2dbe41e --- a/ext/standard/string.c +++ b/ext/standard/string.c @@@ -4707,14 -4584,13 +4707,15 @@@ PHPAPI size_t php_strip_tags(char *rbuf swm: Added ability to strip <?xml tags without assuming it PHP code. */ -PHPAPI size_t php_strip_tags_ex(char *rbuf, int len, int *stateptr, char *allow, int allow_len, zend_bool allow_tag_spaces) +PHPAPI size_t php_strip_tags_ex(char *rbuf, size_t len, int *stateptr, const char *allow, size_t allow_len, zend_bool allow_tag_spaces) { char *tbuf, *buf, *p, *tp, *rp, c, lc; - int br, i=0, depth=0, in_q = 0; - int state = 0, pos; + int br, depth=0, in_q = 0; + int state = 0; + size_t pos, i = 0; char *allow_free = NULL; + const char *allow_actual; + char is_xml = 0; if (stateptr) state = *stateptr;

« previous php.cvs (#90911) next »