VocabReminder
English dictionary with notifications so you won't forget what you're studying!
Click here for more info about the app
VocabQuiz
The app that quizzes and scores you on your vocabulary!
Click here for more info about the app

Convert Array to Object in PHP

       

function array2obj($data) {
    return is_array($data) ? (object) array_map(__FUNCTION__,$data) : $data;
}

Source: http://www.serversidemagazine.com/php/how-to-convert-array-notation-to-object-notation

Tagged w/ #php #programming