i have this type of array:-
i want to get array elemtn.
context_course Object
(
[_id:protected] => 15
[_contextlevel:protected] => 50
[_instanceid:protected] => 2
[_path:protected] => /1/3/15 [_depth:protected] => 3
)
the problem is [_id:protected]
i want to there value 15
how can i get if element is protected.
thanks.