The array is encapsulated with an Object..
When I do var_dump
, this is the structure if object
object(stdClass)#57 (1) { ["string"]=> array(2) { [0]=> string(1) "1" [1]=> string(1) "3" } }
When I do print_r
below is the o/p
stdClass Object ( [string] => Array ( [0] => 1 [1] => 3 ) )
Please tell me how can access 1 and 3 from this object ?