1--TEST-- 2Bug #61326: ArrayObject comparison 3--FILE-- 4<?php 5$aobj1 = new ArrayObject(array(0)); 6$aobj2 = new ArrayObject(array(1)); 7var_dump($aobj1 == $aobj2); 8 9$aobj3 = new ArrayObject(array(0)); 10var_dump($aobj1 == $aobj3); 11 12$aobj3->foo = 'bar'; 13var_dump($aobj1 == $aobj3); 14--EXPECT-- 15bool(false) 16bool(true) 17bool(false) 18