1--TEST--
2mb_str_split() tests for more text encodings
3--EXTENSIONS--
4mbstring
5--FILE--
6<?php
7$array = mb_str_split("\x00\x01\x02\x03\x04\x05\x06\x07", 2, "UCS-2BE");
8echo "[", bin2hex($array[0]), ", ", bin2hex($array[1]), "]\n";
9?>
10--EXPECT--
11[00010203, 04050607]
12