History log of /PHP-8.2/ext/mbstring/mbstring.stub.php (Results 26 – 37 of 37)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# d44ee911 02-Apr-2020 George Peter Banyard

Promote mb_str_split warning to ValueError

Also add a TODO about documenting this funcion on PHP.net
Convert some checks to assertions as if they don't hold something went wrong during m

Promote mb_str_split warning to ValueError

Also add a TODO about documenting this funcion on PHP.net
Convert some checks to assertions as if they don't hold something went wrong during memory allocation
Due to these changes this function cannot return false anymore, fix stubs accordingly

show more ...

# 8a2ce27b 30-Mar-2020 Nikita Popov

mb_detect_order(): Use proper array|string argument

# b02b3539 30-Mar-2020 Nikita Popov

mb_check_encoding(): Make var a proper array|string arg

# 50d07ff2 30-Mar-2020 Nikita Popov

mb_detect_encoding(): Use proper array|string parameter

Needed to add support for nullabiltiy in some places.

# bb652369 30-Mar-2020 Nikita Popov

mb_convert_variables(): Make $from an array|string argument

# 0d244227 30-Mar-2020 Nikita Popov

mb_convert_encoding(): Make $input a proper array|string arg

# f24f6cba 30-Mar-2020 Nikita Popov

mb_convert_encoding(): Make $from_encodings a proper array|string arg

Switching to FastZPP, as we don't support this in normal zpp.

# 7d0102df 17-Feb-2020 Christoph M. Becker

Revert "Replace @param annotations with type declarations"

This reverts commit c31029f335ca1b453af799805c43c37e959ad555.

# c31029f3 16-Feb-2020 Christoph M. Becker

Replace @param annotations with type declarations

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
# 27e83d0f 08-Nov-2019 Máté Kocsis

Add union return types for function stubs

Revision tags: 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 ...

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

Add MBString arginfo stubs

12