I am attempting to iterate the img data held in the array within the stdClass object. I've been able to get the stdClass to do everything else I hoped, trying to get the images to sequence/iterate out has eluded me. I have looked at php.net and read through stack for an answer i can understand which explains the error I have in addition to having unsuccessfully to google the answer. I am now very confused and tried many many things will no successes.
$myObj = new stdClass;
$myObj->image=['x01.jpg', 'x02.jpg', 'x03.jpg', 'x04.jpg', 'x05.jpg'];
$myObj->name="asdfg";
$myObj->phone="exaasdfaspg";
$myObj->email="exsdfg";
$myObjArray[] = $myObj;
foreach($myObjArray as $myObj)
{ echo '<img src="_imgResevior/' . $myObj->image[] . '"/>' ;}
#{ echo (in_array('<img src="_imgResevior/' . $myObj->image['image'] . '"/>')) ;}