1--TEST-- 2Ensure "undefined offset" notice formats message corectly when undefined key is negative 3--FILE-- 4<?php 5 6[][-1]; 7[][-1.1]; 8(new ArrayObject)[-1]; 9(new ArrayObject)[-1.1]; 10 11echo "Done\n"; 12?> 13--EXPECTF-- 14Notice: Undefined offset: -1 in %s on line 3 15 16Notice: Undefined offset: -1 in %s on line 4 17 18Notice: Undefined offset: -1 in %s on line 5 19 20Notice: Undefined offset: -1 in %s on line 6 21Done 22