<?php
function expects(array $expected, array $received) {
// var_dump($received);
var_dump($expected === $received);
}
$string = 'å
ÊeĖâŦđđŠđŠâ đŠââ¤ī¸âđŠ';
$expectedArray = ['å
', 'Ê', 'e', 'Ė', 'âŦ', 'đ', 'đŠ', 'đŠ', 'â', ' ', 'đŠ', 'â', 'â¤', 'ī¸', 'â', 'đŠ'];
expects($expectedArray, mb_str_split( $string));
preferences:
23.6 ms | 405 KiB | 5 Q