Created
August 22, 2013 15:05
-
-
Save JoaoVagner/6308403 to your computer and use it in GitHub Desktop.
utf_encode array_walk_recursive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$utf = function ($value, $key) use (& $array) { | |
utf8_encode($array); | |
}; | |
array_walk_recursive($allArray, $utf); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
orgulho!