$ArrayData = Array ( [0] => stdClass Object ( [item_length] => 6 [item_width] => 4 [item_height] => 2 [item_weight] => 20 ) )
If my stdclass object array print like this format, I want to get the string from the stdclass object in PHP
I have applied this code but did not work.
echo $ArrayData[0]['item_length'];
Question and answer is powered by AnsPress.io