arrayToObject()

arrayToObject(array $array)

Transform recursively an array into an stdClass Object
@param Array $array
@return stdClass

Params


$array
The array you want to convert RECURSIVELY

Explanation


Transform recursively an array into an stdClass Object

$user = new Users();

$array = array("Klederson Bueno", "PhpBURN Framework");

$user->arrayToObject($array);