1--TEST-- 2Assignments to illegal ArrayObject offsets shouldn't leak 3--FILE-- 4<?php 5 6$ao = new ArrayObject([1, 2, 3]); 7$ao[[]] = new stdClass; 8 9?> 10--EXPECTF-- 11Warning: Illegal offset type in %s on line %d 12