--TEST-- Using undefined multidimensional array --FILE-- foo; $arr[1][2][3][4][5]->foo = 1; $arr[][] = 2; $arr[][]->bar = 2; ?> --EXPECTF-- Notice: Undefined variable: arr in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Undefined variable: arr in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Undefined variable: arr in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to access array offset on value of type null in %s on line %d Notice: Trying to get property 'foo' of non-object in %s on line %d Warning: Creating default object from empty value in %s on line %d Warning: Creating default object from empty value in %s on line %d