Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public static function recursivePrepareArrayToUTF8($array) { return array_map(function ($item) { if (is_string($item)) { return utf8_encode($item); } if (is_array($item)) { return ArrayHelper::recursivePrepareArrayToUTF8($item); } return $item; }, $array); }