History log of /PHP-8.2/ext/mbstring/mbstring.c (Results 226 – 250 of 857)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 483efc7e 07-Dec-2019 George Peter Banyard

Allow empty needles in mb_strpos and mb_strstr function family.

MBstring analogous implementation to 6d578482a933be7597b686b59a935b316161d251

Closes GH-4977


# aadd3aae 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() in various places


# 7b4a4d2a 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after try_convert_to_string()


# 12ce73a5 31-Dec-2019 Máté Kocsis

Use RETURN_THROWS() after zend_value_error()


# 34570372 31-Dec-2019 Máté Kocsis

Use RETURN_THROWS() during ZPP in most of the extensions

Except for some bigger ones: reflection, sodium, spl


# 2ab123b8 09-Dec-2019 Máté Kocsis

Convert string|array union parameter types

Closes GH-4995


# fdf45deb 13-Dec-2019 George Peter Banyard

Remove deprecated behaviour of passing encoding as third parameter in mb_strrpos()

Merged GH-5011


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1
# e2100619 07-Oct-2019 Christoph M. Becker

Expect appropriate parameter type in the first place

`mb_encode_numericentity()` and `mb_decode_numericentity()` accepted
arbitrary zvals as `$convmap`, but ignored anything else than ar

Expect appropriate parameter type in the first place

`mb_encode_numericentity()` and `mb_decode_numericentity()` accepted
arbitrary zvals as `$convmap`, but ignored anything else than arrays.
This appears to be an unresolved relict of their ZPP conversion for
PHP 5.3[1]. We now expect an array in the first place.

We also expect `count($convmap)` to be a multiple of four (else we
throw a `ValueError`), and do no longer special case empty `$convmap`.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=1c77f594294aee9d60e7309279c616c01c39ba9d>

show more ...


# 8f7238ed 06-Oct-2019 Christoph M. Becker

Explicitly declare empty parameter list


# 0a47096c 06-Oct-2019 Christoph M. Becker

Add MBString arginfo stubs


# 6623e7ac 02-Oct-2019 Nikita Popov

Add support for mbstring.regex_retry_limit

This is very similar to the existing mbstring.regex_stack_limit,
but for backtracking. The default value matches pcre.backtrack_limit.
Only

Add support for mbstring.regex_retry_limit

This is very similar to the existing mbstring.regex_stack_limit,
but for backtracking. The default value matches pcre.backtrack_limit.
Only used on libonig >= 2.8.0.

show more ...


Revision tags: php-7.4.0RC3
# 45db6fa5 30-Sep-2019 Christoph M. Becker

Fix #78609: mb_check_encoding() no longer supports stringable objects

We apply type juggling for other types than array.


# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.


Revision tags: php-7.2.23, php-7.3.10
# 48892e6d 21-Sep-2019 Christoph M. Becker

Remove unused parameter

Cf. <https://bugs.php.net/78579>.


# 398b3083 21-Sep-2019 Christoph M. Becker

Fix #78579: mb_decode_numericentity: args number inconsistency

mb_decode_numericentity() accepts a fourth optional parameter, which is
unused, however. Since this parameter doesn't do a

Fix #78579: mb_decode_numericentity: args number inconsistency

mb_decode_numericentity() accepts a fourth optional parameter, which is
unused, however. Since this parameter doesn't do any harm, and to avoid
the small BC break, we're keeping this parameter for PHP 7, but adjust
the arginfo.

For PHP 8, we will remove this parameter.

show more ...


Revision tags: php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1
# 39e756e7 11-Jul-2019 Nikita Popov

Deprecate encoding as 3rd param to mb_strrpos()


Revision tags: php-7.4.0alpha3, php-7.3.7, php-7.2.20
# 7defd5f6 01-Jul-2019 Nikita Popov

Fix unused variable warnings when mbregex disabled


Revision tags: php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1
# 457392fa 05-Jun-2019 Dmitry Stogov

Cheaper checks for exceptions thrown from __toString()


Revision tags: php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16
# a31f4642 26-Feb-2019 Nikita Popov

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error excep

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error exceptions.

Improve exception safety of internal code performing string
conversions.

show more ...


# 4c1a25ad 17-Apr-2019 Dmitry Stogov

Fixed compatibility with phpdbg


# f73f190c 16-Apr-2019 Nikita Popov

Fix internal_encoding fallback in mbstring

By introducing a hook that is called whenever one of
internal_encoding / input_encoding / output_encoding changes, so
that mbstring can adj

Fix internal_encoding fallback in mbstring

By introducing a hook that is called whenever one of
internal_encoding / input_encoding / output_encoding changes, so
that mbstring can adjust it's internal state.

This also makes internal_encoding work with zend multibyte.

show more ...


# 3fab73e2 12-Apr-2019 Nikita Popov

Avoid misc uninitialized variable warnings


# 339b0af4 12-Apr-2019 Nikita Popov

Avoid misc uninitialized variable warnings


# 3b53d28e 12-Apr-2019 Nikita Popov

Fix key leaks in mb_convert_encoding()


# a61d24e4 11-Apr-2019 Nikita Popov

Avoid onig match param unused variable warning


12345678910>>...35