📄 Viewing: ArrayObject_illegal_offset_leak.phpt

--TEST--
Assignments to illegal ArrayObject offsets shouldn't leak
--FILE--
<?php

$ao = new ArrayObject([1, 2, 3]);
$ao[[]] = new stdClass;

?>
--EXPECTF--
Warning: Illegal offset type in %s on line %d

🌑 DarkStealth — WP Plugin Edition

Directory: /usr/src/php-7.4.23/ext/spl/tests