1--TEST--
2Test DateInterval props with dimension handling
3--FILE--
4<?php
5class Z extends DateInterval{}
6$z = new Z('P2Y4DT6H8M');
7$i = 0;
8$z->prop[1]=10;
9while ($i < 1026) {
10    $z->prop[$i] = $i;
11    $i++;
12}
13?>
14==NOCRASH==
15--EXPECTF--
16Deprecated: Creation of dynamic property Z::$prop is deprecated in %s on line %d
17==NOCRASH==
18