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
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
..
2019-09-30 17:52:39 +02:00
2019-10-07 16:32:42 +02:00
2019-10-02 11:21:17 +02:00
2019-10-01 11:19:43 +02:00
2019-10-04 13:55:33 +02:00
2019-10-02 10:34:08 +02:00
2019-10-07 16:32:42 +02:00
2019-10-01 09:16:51 +02:00
2019-10-02 10:09:37 +02:00
2019-10-07 13:24:24 +02:00
2019-10-07 09:19:08 +02:00
2019-10-05 11:11:52 +02:00
2019-09-30 17:52:39 +02:00
2019-10-07 16:32:42 +02:00
2019-10-07 16:44:44 +02:00
2019-10-02 02:31:01 +03:00
2019-09-30 17:52:39 +02:00
2019-09-27 23:02:51 +02:00
2019-10-02 10:34:08 +02:00
2019-10-07 10:24:41 +02:00
2019-10-06 13:47:21 +02:00