@@ -61,61 +61,35 @@ STDERR[0]
61
61
Error: Cannot use a scalar value as an array
62
62
Error: Cannot use a scalar value as an array
63
63
new stdClass()[0]
64
- Error: Cannot use object of type stdClass as array
65
- Error: Cannot use object of type stdClass as array
64
+ Error: Cannot increment/decrement object offsets
65
+ Error: Cannot increment/decrement object offsets
66
66
new ArrayObject()[0]
67
-
68
- Warning: Undefined offset in %s on line %d
69
- NULL
70
- int(1)
67
+ Error: Cannot increment/decrement object offsets
68
+ Error: Cannot increment/decrement object offsets
71
69
new A()[0]
72
- string(15) "A::offsetExists"
73
- int(0)
74
- string(12) "A::offsetGet"
75
- int(0)
76
-
77
- Notice: Indirect modification of overloaded element of A has no effect in %s on line %d
78
- int(5)
79
- string(15) "A::offsetExists"
80
- int(0)
81
- string(12) "A::offsetGet"
82
- int(0)
83
-
84
- Notice: Indirect modification of overloaded element of A has no effect in %s on line %d
85
- int(5)
70
+ Error: Cannot increment/decrement object offsets
71
+ Error: Cannot increment/decrement object offsets
86
72
new B()[0]
87
- string(15) "B::offsetExists"
88
- int(0)
89
- NULL
90
- string(15) "B::offsetExists"
91
- int(0)
92
- int(1)
73
+ Error: Cannot increment/decrement object offsets
74
+ Error: Cannot increment/decrement object offsets
93
75
new DimensionRead()[0]
94
- Error: Cannot fetch offset of object of type DimensionRead
95
- Error: Cannot fetch offset of object of type DimensionRead
76
+ Error: Cannot increment/decrement object offsets
77
+ Error: Cannot increment/decrement object offsets
96
78
new DimensionFetch()[0]
97
- string(27) "DimensionRead::offsetExists"
98
- int(0)
99
- string(27) "DimensionFetch::offsetFetch"
100
- int(0)
101
- TypeError: Cannot increment DimensionFetch
102
- string(27) "DimensionRead::offsetExists"
103
- int(0)
104
- string(27) "DimensionFetch::offsetFetch"
105
- int(0)
106
- TypeError: Cannot decrement DimensionFetch
79
+ Error: Cannot increment/decrement object offsets
80
+ Error: Cannot increment/decrement object offsets
107
81
new DimensionWrite()[0]
108
- Error: Cannot fetch offset of object of type DimensionWrite
109
- Error: Cannot fetch offset of object of type DimensionWrite
82
+ Error: Cannot increment/decrement object offsets
83
+ Error: Cannot increment/decrement object offsets
110
84
new DimensionReadWrite()[0]
111
- Error: Cannot fetch offset of object of type DimensionReadWrite
112
- Error: Cannot fetch offset of object of type DimensionReadWrite
85
+ Error: Cannot increment/decrement object offsets
86
+ Error: Cannot increment/decrement object offsets
113
87
new DimensionAppend()[0]
114
- Error: Cannot fetch offset of object of type DimensionAppend
115
- Error: Cannot fetch offset of object of type DimensionAppend
88
+ Error: Cannot increment/decrement object offsets
89
+ Error: Cannot increment/decrement object offsets
116
90
new DimensionFetchAppend()[0]
117
- Error: Cannot fetch offset of object of type DimensionFetchAppend
118
- Error: Cannot fetch offset of object of type DimensionFetchAppend
91
+ Error: Cannot increment/decrement object offsets
92
+ Error: Cannot increment/decrement object offsets
119
93
new DimensionUnset()[0]
120
- Error: Cannot fetch offset of object of type DimensionUnset
121
- Error: Cannot fetch offset of object of type DimensionUnset
94
+ Error: Cannot increment/decrement object offsets
95
+ Error: Cannot increment/decrement object offsets
0 commit comments