I am using function to get users followers, but not able to access the simple xml object into an array. Getting user's other fields but when it comes to status field, which contain another array, doesnot get access to this array.
I have written code like this:
$data = $data = simplexml_load_string($xml);
foreach($data->users as $users)
foreach($users as $user)
foreach($user as $k=>$v)
$arr1[$k] = (string) $v;