]> granicus.if.org Git - php/commit
Parse mb_convert_encoding() encodings only once
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 30 Mar 2020 12:15:16 +0000 (14:15 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 30 Mar 2020 12:54:15 +0000 (14:54 +0200)
commit7cea789cfcbb7530754ad8d164f6caf5a5c719e9
tree6c82d73517d2f6ff661d76f1a2b7c613b9b0437b
parentcd5a29b820ab293a622c3cd29e6b1a8ec467077a
Parse mb_convert_encoding() encodings only once

Instead of re-parsing them for every converted value. Also reuse
the generic parse_array() helper.
ext/mbstring/mbstring.c
ext/mbstring/mbstring.h
ext/mbstring/tests/bug79149.phpt