note 83486 deleted from function.utf8-decode by cmb
| From: | cmb@php.net | Date: | Sun, 04 Dec 2016 12:09:49 +0000 |
| Subject: | note 83486 deleted from function.utf8-decode by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208188@lists.php.net to get a copy of this message | ||
Note Submitter: juantxito at example dot com
----
To decode the values and the keys, i think this would work
function utf8_array_decode($input){
$return = array();
foreach ($input as $key => $val) {
$k = utf8_decode($key);
$return[$k] = utf8_decode($val);
}
return $return;
}