So I have been searching for a while and cannot find the answer to a simple question. Is it possible to have an array of objects in PHP? Such as:
$ar=array();
$ar[]=$Obj1
$ar[]=$obj2
For some reason I have not been able to find the answer anywhere. I assume it is possible but I just need to make sure.