File tree Expand file tree Collapse file tree 3 files changed +45
-123
lines changed Expand file tree Collapse file tree 3 files changed +45
-123
lines changed Original file line number Diff line number Diff line change @@ -45,37 +45,29 @@ $inputs = [
45
45
46
46
// null data
47
47
/*11*/ null ,
48
- null ,
49
48
50
49
// boolean data
51
- /*13*/ true ,
52
- false ,
53
- true ,
50
+ /*12*/ true ,
54
51
false ,
55
52
56
53
// empty data
57
- /*17*/ "" ,
58
- "" ,
54
+ /*14*/ "" ,
59
55
[],
60
56
61
57
// string data
62
- /*20*/ "abcxyz " ,
63
- "abcxyz " ,
58
+ /*16*/ "abcxyz " ,
64
59
$ heredoc ,
65
60
"5.5 " ,
66
61
"2 " ,
67
62
68
63
// object data
69
- /*25 */ new classA (),
64
+ /*20 */ new classA (),
70
65
71
66
// undefined data
72
- /*26*/ @$ undefined_var ,
73
-
74
- // unset data
75
- /*27*/ @$ unset_var ,
67
+ /*21*/ @$ undefined_var ,
76
68
77
69
// resource variable
78
- /*28 */ $ fp ,
70
+ /*22 */ $ fp ,
79
71
];
80
72
81
73
// loop through each element of $inputs to check the behaviour of pow()
@@ -129,52 +121,34 @@ float(0.125)
129
121
int(0)
130
122
131
123
-- Iteration 12 --
132
- int(0 )
124
+ int(1 )
133
125
134
126
-- Iteration 13 --
135
- int(1 )
127
+ int(0 )
136
128
137
129
-- Iteration 14 --
138
- int(0)
130
+ Unsupported operand types: string ** int
139
131
140
132
-- Iteration 15 --
141
- int(1)
133
+ Unsupported operand types: array ** int
142
134
143
135
-- Iteration 16 --
144
- int(0)
136
+ Unsupported operand types: string ** int
145
137
146
138
-- Iteration 17 --
147
139
Unsupported operand types: string ** int
148
140
149
141
-- Iteration 18 --
150
- Unsupported operand types: string ** int
151
-
152
- -- Iteration 19 --
153
- Unsupported operand types: array ** int
154
-
155
- -- Iteration 20 --
156
- Unsupported operand types: string ** int
157
-
158
- -- Iteration 21 --
159
- Unsupported operand types: string ** int
160
-
161
- -- Iteration 22 --
162
- Unsupported operand types: string ** int
163
-
164
- -- Iteration 23 --
165
142
float(15532029.564086)
166
143
167
- -- Iteration 24 --
144
+ -- Iteration 19 --
168
145
float(412.09)
169
146
170
- -- Iteration 25 --
147
+ -- Iteration 20 --
171
148
Unsupported operand types: float ** classA
172
149
173
- -- Iteration 26 --
174
- float(1)
175
-
176
- -- Iteration 27 --
150
+ -- Iteration 21 --
177
151
float(1)
178
152
179
- -- Iteration 28 --
153
+ -- Iteration 22 --
180
154
Unsupported operand types: float ** resource
Original file line number Diff line number Diff line change @@ -45,37 +45,29 @@ $inputs = [
45
45
46
46
// null data
47
47
/*11*/ null ,
48
- null ,
49
48
50
49
// boolean data
51
- /*13*/ true ,
52
- false ,
53
- true ,
50
+ /*12*/ true ,
54
51
false ,
55
52
56
53
// empty data
57
- /*17*/ "" ,
58
- "" ,
54
+ /*14*/ "" ,
59
55
[],
60
56
61
57
// string data
62
- /*20*/ "abcxyz " ,
63
- "abcxyz " ,
58
+ /*16*/ "abcxyz " ,
64
59
$ heredoc ,
65
60
"10.5 " ,
66
61
"2 " ,
67
62
68
63
// object data
69
- /*25 */ new classA (),
64
+ /*20 */ new classA (),
70
65
71
66
// undefined data
72
- /*26*/ @$ undefined_var ,
73
-
74
- // unset data
75
- /*27*/ @$ unset_var ,
67
+ /*21*/ @$ undefined_var ,
76
68
77
69
// resource variable
78
- /*28 */ $ fp ,
70
+ /*22 */ $ fp ,
79
71
];
80
72
81
73
// loop through each element of $inputs to check the behaviour of pow()
@@ -128,52 +120,34 @@ float(0.125)
128
120
int(0)
129
121
130
122
-- Iteration 12 --
131
- int(0 )
123
+ int(1 )
132
124
133
125
-- Iteration 13 --
134
- int(1 )
126
+ int(0 )
135
127
136
128
-- Iteration 14 --
137
- int(0)
129
+ Unsupported operand types: string ** int
138
130
139
131
-- Iteration 15 --
140
- int(1)
132
+ Unsupported operand types: array ** int
141
133
142
134
-- Iteration 16 --
143
- int(0)
135
+ Unsupported operand types: string ** int
144
136
145
137
-- Iteration 17 --
146
138
Unsupported operand types: string ** int
147
139
148
140
-- Iteration 18 --
149
- Unsupported operand types: string ** int
150
-
151
- -- Iteration 19 --
152
- Unsupported operand types: array ** int
153
-
154
- -- Iteration 20 --
155
- Unsupported operand types: string ** int
156
-
157
- -- Iteration 21 --
158
- Unsupported operand types: string ** int
159
-
160
- -- Iteration 22 --
161
- Unsupported operand types: string ** int
162
-
163
- -- Iteration 23 --
164
141
float(1157.625)
165
142
166
- -- Iteration 24 --
143
+ -- Iteration 19 --
167
144
int(8)
168
145
169
- -- Iteration 25 --
146
+ -- Iteration 20 --
170
147
Unsupported operand types: classA ** int
171
148
172
- -- Iteration 26 --
173
- int(0)
174
-
175
- -- Iteration 27 --
149
+ -- Iteration 21 --
176
150
int(0)
177
151
178
- -- Iteration 28 --
152
+ -- Iteration 22 --
179
153
Unsupported operand types: resource ** int
Original file line number Diff line number Diff line change @@ -41,37 +41,29 @@ $inputs = [
41
41
42
42
// null data
43
43
/*11*/ null ,
44
- null ,
45
44
46
45
// boolean data
47
- /*13*/ true ,
48
- false ,
49
- true ,
46
+ /*12*/ true ,
50
47
false ,
51
48
52
49
// empty data
53
- /*17*/ "" ,
54
- "" ,
50
+ /*14*/ "" ,
55
51
[],
56
52
57
53
// string data
58
- /*20*/ "abcxyz " ,
59
- "abcxyz " ,
54
+ /*16*/ "abcxyz " ,
60
55
$ heredoc ,
61
56
"5.5 " ,
62
57
"2 " ,
63
58
64
59
// object data
65
- /*25 */ new classA (),
60
+ /*20 */ new classA (),
66
61
67
62
// undefined data
68
- /*26*/ @$ undefined_var ,
69
-
70
- // unset data
71
- /*27*/ @$ unset_var ,
63
+ /*21*/ @$ undefined_var ,
72
64
73
65
// resource variable
74
- /*28 */ $ fp ,
66
+ /*22 */ $ fp ,
75
67
];
76
68
77
69
// loop through each element of $inputs to check the behaviour of pow()
@@ -124,52 +116,34 @@ float(4.5055521304275)
124
116
float(1)
125
117
126
118
-- Iteration 12 --
127
- float(1 )
119
+ float(20.3 )
128
120
129
121
-- Iteration 13 --
130
- float(20.3 )
122
+ float(1 )
131
123
132
124
-- Iteration 14 --
133
- float(1)
125
+ Unsupported operand types: float ** string
134
126
135
127
-- Iteration 15 --
136
- float(20.3)
128
+ Unsupported operand types: float ** array
137
129
138
130
-- Iteration 16 --
139
- float(1)
131
+ Unsupported operand types: float ** string
140
132
141
133
-- Iteration 17 --
142
134
Unsupported operand types: float ** string
143
135
144
136
-- Iteration 18 --
145
- Unsupported operand types: float ** string
146
-
147
- -- Iteration 19 --
148
- Unsupported operand types: float ** array
149
-
150
- -- Iteration 20 --
151
- Unsupported operand types: float ** string
152
-
153
- -- Iteration 21 --
154
- Unsupported operand types: float ** string
155
-
156
- -- Iteration 22 --
157
- Unsupported operand types: float ** string
158
-
159
- -- Iteration 23 --
160
137
float(15532029.564086)
161
138
162
- -- Iteration 24 --
139
+ -- Iteration 19 --
163
140
float(412.09)
164
141
165
- -- Iteration 25 --
142
+ -- Iteration 20 --
166
143
Unsupported operand types: float ** classA
167
144
168
- -- Iteration 26 --
169
- float(1)
170
-
171
- -- Iteration 27 --
145
+ -- Iteration 21 --
172
146
float(1)
173
147
174
- -- Iteration 28 --
148
+ -- Iteration 22 --
175
149
Unsupported operand types: float ** resource
You can’t perform that action at this time.
0 commit comments