1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/ext/mbstring/tests
Christoph M. Becker e2100619ac 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>
2019-10-07 16:48:08 +02:00
..
2014-03-24 12:40:07 +08:00
2011-09-11 12:12:48 +00:00
2011-09-11 12:12:48 +00:00
2019-03-10 23:57:32 -03:00
2018-10-13 11:21:27 +02:00
2018-02-03 13:54:34 +01:00
2018-02-03 13:54:34 +01:00
2018-02-03 13:54:34 +01:00
2018-02-03 13:54:34 +01:00
2019-09-04 08:51:03 +02:00
2019-09-04 08:51:03 +02:00
2018-02-03 13:54:34 +01:00
2018-02-03 13:54:34 +01:00
2019-01-28 15:58:23 +01:00
2019-03-15 23:36:47 +01:00
2018-02-06 16:59:00 +01:00
2017-08-04 22:20:05 +02:00
2016-08-10 14:09:48 +09:00
2019-03-05 12:55:07 -03:00
2019-02-12 16:42:51 +01:00
2019-02-12 16:42:51 +01:00
2019-03-15 23:36:47 +01:00
2019-01-28 15:58:23 +01:00
2018-09-16 17:31:06 -03:00