### Description The following code: ```php <?php print_r(str_split('', 1)); print_r(mb_str_split('', 1)); print_r(mb_str_split('', 1, 'UTF-8')); print_r(mb_str_split('', 1, 'ASCII')); print_r(array_chunk([], 1)); ``` https://3v4l.org/1WsGi Resulted in but I expected this output instead: ```diff Array ( - [0] => ) Array ( ) Array ( ) Array ( ) Array ( ) ``` I belive this is an inconsistency that should be fixed. The inconsistency was introduced in https://github.com/php/php-src/commit/0818faee7f4f3501b5521e31a830e647cea2d1ec by a mistake as found out by @emkey08 in the discussion below. ### PHP Version PHP 7.4 - master ### Operating System any
Description
The following code:
https://3v4l.org/1WsGi
Resulted in but I expected this output instead:
Array ( - [0] => ) Array ( ) Array ( ) Array ( ) Array ( )I belive this is an inconsistency that should be fixed.
The inconsistency was introduced in 0818fae by a mistake as found out by @emkey08 in the discussion below.
PHP Version
PHP 7.4 - master
Operating System
any