1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Convert some notices to warnings

Part of https://wiki.php.net/rfc/engine_warnings.
This commit is contained in:
Nikita Popov
2019-10-01 13:20:42 +02:00
parent 2041c9abf5
commit 2f92957fd3
261 changed files with 1273 additions and 1110 deletions

View File

@@ -97,7 +97,18 @@ PHP 8.0 UPGRADE NOTES
* Attempting to write to an array index of a scalar value.
* Attempting to unpack a non-array/Traversable.
RFC: Part of https://wiki.php.net/rfc/engine_warnings
A number of notices have been converted into warnings:
* Attempting to read an undefined variable.
* Attempting to read an undefined property.
* Attempting to read a property of a non-object.
* Attempting to access an array index of a non-array.
* Attempting to convert an array to string.
* Attempting to use a resource as an array key.
* Attempting to use null, a boolean or a float as a string offset.
* Attempting to read an out-of-bounds string offset.
RFC: https://wiki.php.net/rfc/engine_warnings
- COM:
. Removed the ability to import case-insensitive constants from type

View File

@@ -368,7 +368,7 @@ bool(true)
bool(true)
bool(true)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -380,7 +380,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -392,7 +392,7 @@ bool(true)
bool(true)
bool(true)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -404,7 +404,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -416,7 +416,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -428,7 +428,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -440,7 +440,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -452,7 +452,7 @@ bool(true)
bool(true)
bool(true)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -464,7 +464,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -476,7 +476,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -488,7 +488,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -500,7 +500,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -512,7 +512,7 @@ bool(true)
bool(true)
bool(true)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -524,7 +524,7 @@ bool(true)
bool(true)
bool(true)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -536,7 +536,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -548,7 +548,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -560,7 +560,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -572,7 +572,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -584,7 +584,7 @@ bool(true)
bool(true)
bool(true)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -596,7 +596,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -608,7 +608,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -620,7 +620,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -632,7 +632,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -644,7 +644,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -656,7 +656,7 @@ bool(true)
bool(true)
bool(true)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -668,7 +668,7 @@ bool(true)
bool(true)
bool(false)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -680,7 +680,7 @@ bool(true)
bool(true)
bool(true)
Notice: Undefined variable: scalar_var in %s on line %d
Warning: Undefined variable: scalar_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -697,7 +697,7 @@ bool(true)
bool(true)
bool(true)
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -713,18 +713,18 @@ bool(true)
array(0) {
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(0) {
}
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -740,18 +740,18 @@ bool(true)
array(0) {
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(0) {
}
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -767,18 +767,18 @@ bool(true)
array(0) {
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(0) {
}
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -794,18 +794,18 @@ bool(true)
array(0) {
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(0) {
}
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -827,13 +827,13 @@ array(3) {
int(4)
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(3) {
[1]=>
@@ -851,13 +851,13 @@ array(2) {
int(4)
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(2) {
[2]=>
@@ -871,13 +871,13 @@ array(1) {
int(4)
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(1) {
[3]=>
@@ -887,18 +887,18 @@ array(1) {
array(0) {
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(0) {
}
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -918,13 +918,13 @@ array(2) {
float(5.6)
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(2) {
[1]=>
@@ -938,13 +938,13 @@ array(1) {
float(5.6)
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(1) {
[2]=>
@@ -954,18 +954,18 @@ array(1) {
array(0) {
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(0) {
}
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -983,13 +983,13 @@ array(1) {
string(3) "two"
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(1) {
[2]=>
@@ -999,18 +999,18 @@ array(1) {
array(0) {
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(0) {
}
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -1028,13 +1028,13 @@ array(1) {
string(2) "30"
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(1) {
["Age"]=>
@@ -1044,18 +1044,18 @@ array(1) {
array(0) {
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(0) {
}
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -1079,13 +1079,13 @@ array(4) {
string(0) ""
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(4) {
[1]=>
@@ -1107,13 +1107,13 @@ array(3) {
string(0) ""
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(3) {
["One"]=>
@@ -1131,13 +1131,13 @@ array(2) {
string(0) ""
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(2) {
[2]=>
@@ -1151,13 +1151,13 @@ array(1) {
string(0) ""
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(1) {
[""]=>
@@ -1167,18 +1167,18 @@ array(1) {
array(0) {
}
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(false)
Notice: Undefined variable: key_val in %s on line %d
Warning: Undefined variable: key_val in %s on line %d
bool(true)
array(0) {
}
Notice: Undefined variable: array_var in %s on line %d
Warning: Undefined variable: array_var in %s on line %d
NULL
bool(false)
bool(false)
@@ -1196,7 +1196,7 @@ bool(true)
bool(false)
bool(false)
Notice: Undefined variable: resource in %s on line %d
Warning: Undefined variable: resource in %s on line %d
NULL
-- Iteration 2 --
resource(%d) of type (stream)
@@ -1209,10 +1209,10 @@ bool(true)
bool(false)
bool(false)
Notice: Undefined variable: resource in %s on line %d
Warning: Undefined variable: resource in %s on line %d
NULL
Notice: Undefined variable: resources in %s on line %d
Warning: Undefined variable: resources in %s on line %d
NULL
bool(false)
bool(true)
@@ -1229,16 +1229,16 @@ object(Point)#%d (3) {
bool(true)
bool(false)
Notice: Undefined variable: lable in %s on line %d
Warning: Undefined variable: lable in %s on line %d
bool(false)
Notice: Undefined variable: lable in %s on line %d
Warning: Undefined variable: lable in %s on line %d
bool(true)
Notice: Undefined variable: lable in %s on line %d
Warning: Undefined variable: lable in %s on line %d
bool(false)
Notice: Undefined variable: lable in %s on line %d
Warning: Undefined variable: lable in %s on line %d
bool(true)
object(Point)#%d (3) {
["x"]=>
@@ -1263,7 +1263,7 @@ bool(false)
bool(false)
bool(true)
Notice: Undefined variable: point1 in %s on line %d
Warning: Undefined variable: point1 in %s on line %d
NULL
bool(false)
bool(true)
@@ -1293,7 +1293,7 @@ value of static_var before unset: 1
bool(true)
bool(false)
Notice: Undefined variable: static_var in %s on line %d
Warning: Undefined variable: static_var in %s on line %d
value of static_var after unset:
bool(false)
bool(true)
@@ -1302,7 +1302,7 @@ value of static_var before unset: 2
bool(true)
bool(false)
Notice: Undefined variable: static_var in %s on line %d
Warning: Undefined variable: static_var in %s on line %d
value of static_var after unset:
bool(false)
bool(true)
@@ -1311,7 +1311,7 @@ value of static_var before unset: 3
bool(true)
bool(false)
Notice: Undefined variable: static_var in %s on line %d
Warning: Undefined variable: static_var in %s on line %d
value of static_var after unset:
bool(false)
bool(true)

View File

@@ -15,43 +15,43 @@ var_dump($a->$b->{$c[1]});
?>
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
Notice: Undefined variable: c in %s on line %d
Warning: Undefined variable: c in %s on line %d
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
int(1)
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
Notice: Undefined variable: b in %s on line %d
Warning: Undefined variable: b in %s on line %d
int(0)
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
NULL
Notice: Undefined variable: b in %s on line %d
Warning: Undefined variable: b in %s on line %d
int(1)
Notice: Trying to get property '1' of non-object in %s on line %d
Warning: Trying to get property '1' of non-object in %s on line %d
NULL
Notice: Trying to get property '1' of non-object in %s on line %d
Warning: Trying to get property '1' of non-object in %s on line %d
NULL
Notice: Undefined variable: c in %s on line %d
Warning: Undefined variable: c in %s on line %d
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
Notice: Trying to get property '1' of non-object in %s on line %d
Warning: Trying to get property '1' of non-object in %s on line %d
Notice: Trying to get property '' of non-object in %s on line %d
Warning: Trying to get property '' of non-object in %s on line %d
NULL

View File

@@ -22,7 +22,7 @@ print "ok\n";
?>
--EXPECTF--
Notice: Trying to get property 'a' of non-object in %s on line %d
Warning: Trying to get property 'a' of non-object in %s on line %d
ok
Attempt to assign property 'a' of non-object
ok

View File

@@ -25,42 +25,42 @@ try {
?>
--EXPECTF--
Notice: Undefined variable: arr in %s on line %d
Warning: Undefined variable: arr in %s on line %d
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: 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
Warning: 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
Warning: 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
Warning: 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
Warning: Trying to access array offset on value of type null in %s on line %d
Notice: Undefined variable: arr in %s on line %d
Warning: Undefined variable: arr in %s on line %d
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: 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
Warning: 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
Warning: 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
Warning: 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
Warning: Trying to access array offset on value of type null in %s on line %d
Notice: Undefined variable: arr in %s on line %d
Warning: Undefined variable: arr in %s on line %d
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: 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
Warning: 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
Warning: 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
Warning: 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
Warning: 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: Trying to get property 'foo' of non-object in %s on line %d
Attempt to assign property 'foo' of non-object
Attempt to assign property 'bar' of non-object

View File

@@ -6,9 +6,9 @@ array unpacking with undefinded variable
var_dump([...$arr]);
--EXPECTF--
Notice: Undefined variable: arr in %s on line %d
Warning: Undefined variable: arr in %s on line %d
Fatal error: Uncaught Error: Only arrays and Traversables can be unpacked in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
thrown in %s on line %d

View File

@@ -9,5 +9,5 @@ var_dump((fn() => $b + $c)());
?>
--EXPECTF--
Notice: Undefined variable: c in %s on line %d
Warning: Undefined variable: c in %s on line %d
int(1)

View File

@@ -14,8 +14,8 @@ var_dump($fn());
?>
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
NULL
Notice: Undefined variable: 5 in %s on line %d
Warning: Undefined variable: 5 in %s on line %d
NULL

View File

@@ -13,7 +13,7 @@ var_dump($var1);
echo "Done\n";
?>
--EXPECTF--
Notice: Trying to access array offset on value of type float in %s on line %d
Warning: Trying to access array offset on value of type float in %s on line %d
NULL
NULL
Done

View File

@@ -33,7 +33,7 @@ $obj->printVars();
===BASE===
string(4) "Base"
Notice: Undefined property: BaseClass::$private_child in %sbug29674.php on line %d
Warning: Undefined property: BaseClass::$private_child in %s on line %d
NULL
===CHILD===
string(4) "Base"

View File

@@ -52,7 +52,7 @@ $baz->printFoo();
--EXPECTF--
foo: foo foo2
bar: bar
Notice: Undefined property: bar::$foo2 in %s on line %d
Warning: Undefined property: bar::$foo2 in %s on line %d
---baz--
foo: foo foo2

View File

@@ -15,7 +15,7 @@ bool(false)
bool(true)
bool(true)
Notice: Uninitialized string offset: -10 in %s on line 6
Warning: Uninitialized string offset: -10 in %s on line %d
string(0) ""
string(1) "u"
string(1) "u"

View File

@@ -22,6 +22,6 @@ function GenerateError2($A1)
GenerateError2("Test2");
?>
--EXPECTF--
#0 userErrorHandler(8, Undefined variable: b, %sbug29896.php, 11) called at [%sbug29896.php:11]
#0 userErrorHandler(2, Undefined variable: b, %s, %d) called at [%s:%d]
#1 GenerateError1(Test1) called at [%sbug29896.php:16]
#2 GenerateError2(Test2) called at [%sbug29896.php:19]

View File

@@ -43,7 +43,7 @@ var_dump($db);
?>
===DONE===
--EXPECTF--
Notice: Undefined variable: db in %sbug30162.php on line 35
Warning: Undefined variable: db in %s on line %d
NULL
object(hariCow)#%d (2) {
["x"]=>

View File

@@ -44,7 +44,7 @@ ok
ok
ok
Notice: Trying to get property 'wrong' of non-object in %s on line %d
Warning: Trying to get property 'wrong' of non-object in %s on line %d
ok
Warning: Illegal string offset 'wrong' in %s on line %d

View File

@@ -12,6 +12,6 @@ try {
?>
===DONE===
--EXPECTF--
Notice: Undefined variable: nonesuchvar in %s on line %d
Warning: Undefined variable: nonesuchvar in %s on line %d
array_walk() expects parameter 2 to be a valid callback, first array member is not a valid class name or object
===DONE===

View File

@@ -62,44 +62,44 @@ print "\nDone\n";
?>
--EXPECTF--
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
Notice: Uninitialized string offset: %s in %s on line 6
Warning: Uninitialized string offset: %s in %s on line %d
Notice: Uninitialized string offset: 0 in %s on line %d
Warning: Uninitialized string offset: 0 in %s on line %d
Notice: Uninitialized string offset: 0 in %s on line %d
Warning: Uninitialized string offset: 0 in %s on line %d
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
Notice: Uninitialized string offset: %i in %s on line %d
Warning: Uninitialized string offset: %i in %s on line %d
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
Notice: Uninitialized string offset: %i in %s on line %d
Warning: Uninitialized string offset: %i in %s on line %d
Notice: Uninitialized string offset: 0 in %s on line %d
Warning: Uninitialized string offset: 0 in %s on line %d
Notice: Uninitialized string offset: 4 in %s on line %d
Warning: Uninitialized string offset: 4 in %s on line %d
Notice: Uninitialized string offset: 4 in %s on line %d
Warning: Uninitialized string offset: 4 in %s on line %d
Notice: Uninitialized string offset: 4 in %s on line %d
Warning: Uninitialized string offset: 4 in %s on line %d
Notice: Uninitialized string offset: 4 in %s on line %d
Warning: Uninitialized string offset: 4 in %s on line %d
Notice: Uninitialized string offset: 4 in %s on line %d
Warning: Uninitialized string offset: 4 in %s on line %d
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
Notice: Uninitialized string offset: 12 in %s on line %d
Warning: Uninitialized string offset: 12 in %s on line %d
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
Notice: Uninitialized string offset: 12 in %s on line %d
Warning: Uninitialized string offset: 12 in %s on line %d
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
b
Done

View File

@@ -14,6 +14,6 @@ var_dump($key);
echo "Done\n";
?>
--EXPECTF--
Notice: Undefined variable: key in %s on line %d
Warning: Undefined variable: key in %s on line %d
NULL
Done

View File

@@ -7,6 +7,6 @@ Bug #39304 (Segmentation fault with list unpacking of string offset)
var_dump($a,$b);
?>
--EXPECTF--
Notice: Uninitialized string offset: 0 in %sbug39304.php on line %d
Warning: Uninitialized string offset: 0 in %s on line %d
NULL
NULL

View File

@@ -41,6 +41,6 @@ echo "Done\n";
--EXPECTF--
Fatal error: Uncaught ErrorException: Undefined variable: id in %s:%d
Stack trace:
#0 %s(%d): env::errorHandler(8, '%s', '%s', 34)
#0 %s(%d): env::errorHandler(2, 'Undefined varia...', '%s', %d)
#1 {main}
thrown in %s on line %d

View File

@@ -26,29 +26,29 @@ Notice: Indirect modification of overloaded property Foo::$arr has no effect in
Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 14
Notice: Undefined variable: ref in %sbug43201.php on line 14
Warning: Undefined variable: ref in %s on line %d
Notice: Undefined variable: undef in %sbug43201.php on line 16
Warning: Undefined variable: undef in %s on line %d
Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17
Notice: Undefined variable: undef in %sbug43201.php on line 16
Warning: Undefined variable: undef in %s on line %d
Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17
Notice: Undefined variable: undef in %sbug43201.php on line 16
Warning: Undefined variable: undef in %s on line %d
Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17
Notice: Undefined variable: undef in %sbug43201.php on line 16
Warning: Undefined variable: undef in %s on line %d
Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17
Notice: Undefined variable: undef in %sbug43201.php on line 16
Warning: Undefined variable: undef in %s on line %d
Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17
Notice: Undefined variable: undef in %sbug43201.php on line 16
Warning: Undefined variable: undef in %s on line %d
Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17
ok

View File

@@ -48,7 +48,7 @@ var_dump($a);
?>
--EXPECTF--
--> read access:
Notice: Trying to get property 'p' of non-object in %s on line %d
Warning: Trying to get property 'p' of non-object in %s on line %d
--> direct assignment:
Attempt to assign property 'p' of non-object

View File

@@ -34,5 +34,5 @@ echo "\n";
isset
empty
Notice: Undefined property: myclass::$foo in %s on line %d
Warning: Undefined property: myclass::$foo in %s on line %d
empty

View File

@@ -5,6 +5,6 @@ Bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object)
$a->{"a"."b"};
?>
--EXPECTF--
Notice: Undefined variable: a in %sbug47109.php on line 2
Warning: Undefined variable: a in %s on line %d
Notice: Trying to get property 'ab' of non-object in %sbug47109.php on line 2
Warning: Trying to get property 'ab' of non-object in %s on line %d

View File

@@ -15,6 +15,6 @@ $a = $empty($b);
--EXPECTF--
Fatal error: Uncaught Exception: error! in %sbug51394.php:%d
Stack trace:
#0 %sbug51394.php(%d): eh(8, 'Undefined varia%s', '%s', %d)
#0 %s(%d): eh(2, 'Undefined varia...', '%s', %d)
#1 {main}
thrown in %sbug51394.php on line %d

View File

@@ -11,7 +11,7 @@ var_dump($temp1);
function a($b,$c) {}
?>
--EXPECTF--
Notice: Undefined variable: var in %sbug52001.php on line 2
Warning: Undefined variable: var in %s on line %d
Notice: Undefined variable: in %sbug52001.php on line 2
Warning: Undefined variable: in %s on line %d
int(1)

View File

@@ -47,47 +47,47 @@ foo()[0][0] += 2;
var_dump(foo());
?>
--EXPECTF--
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Attempt to assign property 'a' of non-object
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Attempt to modify property 'a' of non-object
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Attempt to increment/decrement property 'a' of non-object
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Attempt to modify property 'a' of non-object
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Attempt to assign property 'a' of non-object
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Attempt to modify property 'a' of non-object
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Notice: Undefined offset: 0 in %s on line %d
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Notice: Undefined offset: 0 in %s on line %d
Notice: Undefined offset: 0 in %s on line %d
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Notice: Undefined offset: 0 in %s on line %d
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
Notice: Undefined offset: 0 in %s on line %d
Notice: Undefined offset: 0 in %s on line %d
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
NULL

View File

@@ -22,5 +22,5 @@ $a->__construct();
echo "DONE";
?>
--EXPECTF--
Notice: Undefined property: Z::$x in %s on line 14
Warning: Undefined property: Z::$x in %s on line %d
DONE

View File

@@ -52,16 +52,16 @@ $test->privateProperty = 'value';
--EXPECTF--
__get nonExisting
Notice: Undefined property: Test::$nonExisting in %s on line %d
Warning: Undefined property: Test::$nonExisting in %s on line %d
__get publicProperty
Notice: Undefined property: Test::$publicProperty in %s on line %d
Warning: Undefined property: Test::$publicProperty in %s on line %d
__get protectedProperty
Notice: Undefined property: Test::$protectedProperty in %s on line %d
Warning: Undefined property: Test::$protectedProperty in %s on line %d
__get privateProperty
Notice: Undefined property: Test::$privateProperty in %s on line %d
Warning: Undefined property: Test::$privateProperty in %s on line %d
__isset nonExisting
__isset publicProperty
__isset protectedProperty

View File

@@ -24,5 +24,5 @@ $foo->blah--; //crash
echo "okey";
?>
--EXPECTF--
Notice: Undefined property: Bar::$bar in %sbug66609.php on line %d
Warning: Undefined property: Bar::$bar in %s on line %d
okey

View File

@@ -15,8 +15,8 @@ echo "made it once\n";
crash();
echo "ok\n";
--EXPECTF--
Notice: Undefined variable: i in %sbug67314.php on line 4
Warning: Undefined variable: i in %s on line %d
made it once
Notice: Undefined variable: i in %sbug67314.php on line 4
Warning: Undefined variable: i in %s on line %d
ok

View File

@@ -20,7 +20,7 @@ $wpq->interesting =& ret_assoc();
$x = $wpq->interesting;
printf("%s\n", $x);
--EXPECTF--
Notice: Undefined property: wpq::$interesting in %sbug69732.php on line 6
Warning: Undefined property: wpq::$interesting in %s on line %d
Notice: Indirect modification of overloaded property wpq::$interesting has no effect in %sbug69732.php on line 16

View File

@@ -39,7 +39,7 @@ try {
}
?>
--EXPECTF--
Notice: Undefined variable: f in %sbug70124.php on line %d
Warning: Undefined variable: f in %s on line %d
string(30) "Function name must be a string"
string(31) "Call to undefined method A::y()"
string(31) "Call to undefined method A::y()"

View File

@@ -24,5 +24,5 @@ var_dump(test2());
--EXPECTF--
string(4) "test"
Notice: Array to string conversion in %sbug71300.php on line %d
Warning: Array to string conversion in %s on line %d
string(9) "Arraytest"

View File

@@ -7,5 +7,5 @@ define('e', 'e');
echo "OK\n";
?>
--EXPECTF--
Notice: Undefined variable: A in %sbug72944.php on line 3
Warning: Undefined variable: A in %s on line %d
OK

View File

@@ -24,7 +24,7 @@ $test->test;
--EXPECTF--
__get test
Notice: Undefined property: Test::$test in %s on line %d
Warning: Undefined property: Test::$test in %s on line %d
__get test2
Notice: Undefined property: Test::$test in %s on line %d
Warning: Undefined property: Test::$test in %s on line %d

View File

@@ -47,21 +47,21 @@ unset($null);
--EXPECTF--
Attempt to assign property 'a' of non-object
Notice: Undefined variable: null in %s on line %d
Warning: Undefined variable: null in %s on line %d
NULL
Attempt to modify property 'a' of non-object
Notice: Undefined variable: null in %s on line %d
Warning: Undefined variable: null in %s on line %d
NULL
Attempt to modify property 'a' of non-object
Notice: Undefined variable: null in %s on line %d
Warning: Undefined variable: null in %s on line %d
NULL
Attempt to modify property 'a' of non-object
Notice: Undefined variable: null in %s on line %d
Warning: Undefined variable: null in %s on line %d
NULL
Attempt to modify property 'a' of non-object
Notice: Undefined variable: null in %s on line %d
Warning: Undefined variable: null in %s on line %d
NULL

View File

@@ -13,6 +13,6 @@ $c = $b[$a];
--EXPECTF--
Fatal error: Uncaught Exception: blah in %sbug76025.php:%d
Stack trace:
#0 %sbug76025.php(%d): handleError(8, 'Undefined varia...', '%s', %d)
#0 %s(%d): handleError(2, 'Undefined varia...', '%s', %d)
#1 {main}
thrown in %sbug76025.php on line %d

View File

@@ -19,20 +19,20 @@ $x = new T;
$x->x = 1;
?>
--EXPECTF--
Notice: Undefined variable: undefined in %sbug76667.php on line %d
Warning: Undefined variable: undefined in %s on line %d
Notice: Trying to get property '1' of non-object in %sbug76667.php on line %d
Warning: Trying to get property '1' of non-object in %s on line %d
Warning: Division by zero in %sbug76667.php on line %d
Notice: Undefined variable: undefined in %sbug76667.php on line %d
Warning: Undefined variable: undefined in %s on line %d
Notice: Trying to get property 'NAN' of non-object in %sbug76667.php on line %d
Warning: Trying to get property 'NAN' of non-object in %s on line %d
Warning: Division by zero in %sbug76667.php on line %d
Notice: Undefined variable: undefined in %sbug76667.php on line %d
Warning: Undefined variable: undefined in %s on line %d
Notice: Trying to get property 'NAN' of non-object in %sbug76667.php on line %d
Warning: Trying to get property 'NAN' of non-object in %s on line %d
Warning: Division by zero in %sbug76667.php on line %d

View File

@@ -17,15 +17,15 @@ new B;
--EXPECTF--
Notice: Accessing static property B::$a as non static in %sbug76860.php on line 7
Notice: Undefined property: B::$a in %sbug76860.php on line 7
Warning: Undefined property: B::$a in %s on line %d
Notice: Accessing static property B::$b as non static in %sbug76860.php on line 7
Notice: Undefined property: B::$b in %sbug76860.php on line 7
Warning: Undefined property: B::$b in %s on line %d
Notice: Accessing static property B::$c as non static in %sbug76860.php on line 7
Notice: Undefined property: B::$c in %sbug76860.php on line 7
Warning: Undefined property: B::$c in %s on line %d
NULL
NULL
NULL

View File

@@ -20,15 +20,15 @@ new B;
--EXPECTF--
Notice: Accessing static property B::$a as non static in %sbug76860_2.php on line 7
Notice: Undefined property: B::$a in %sbug76860_2.php on line 7
Warning: Undefined property: B::$a in %s on line %d
Notice: Accessing static property B::$b as non static in %sbug76860_2.php on line 7
Notice: Undefined property: B::$b in %sbug76860_2.php on line 7
Warning: Undefined property: B::$b in %s on line %d
Notice: Accessing static property B::$c as non static in %sbug76860_2.php on line 7
Notice: Undefined property: B::$c in %sbug76860_2.php on line 7
Warning: Undefined property: B::$c in %s on line %d
NULL
NULL
NULL

View File

@@ -12,5 +12,5 @@ var_dump($a->name);
--EXPECTF--
Warning: CURLFile() has been disabled for security reasons in %sbug77494.php on line 2
Notice: Undefined property: CURLFile::$name in %sbug77494.php on line 3
Warning: Undefined property: CURLFile::$name in %s on line %d
NULL

View File

@@ -24,14 +24,14 @@ try {
}
?>
--EXPECTF--
Notice: Undefined variable: u1 in %s on line %d
Warning: Undefined variable: u1 in %s on line %d
Attempt to assign property 'a' of non-object
Notice: Undefined variable: u2 in %s on line %d
Warning: Undefined variable: u2 in %s on line %d
Attempt to increment/decrement property 'a' of non-object
Notice: Undefined variable: u3 in %s on line %d
Warning: Undefined variable: u3 in %s on line %d
Attempt to increment/decrement property 'a' of non-object
Notice: Undefined variable: u4 in %s on line %d
Warning: Undefined variable: u4 in %s on line %d
Attempt to modify property 'a' of non-object

View File

@@ -34,8 +34,8 @@ string(3) "foo"
call_user_func() expects parameter 1 to be a valid callback, class 'foo' not found
call_user_func() expects parameter 1 to be a valid callback, class '' not found
Notice: Undefined variable: foo in %s on line %d
Warning: Undefined variable: foo in %s on line %d
call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object
Notice: Undefined variable: foo in %s on line %d
Warning: Undefined variable: foo in %s on line %d
call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object

View File

@@ -13,7 +13,7 @@ var_dump($a);
--EXPECTF--
Notice: Undefined offset: 0 in %s on line %d
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
Warning: Parameter 1 to foo() expected to be a reference, value given in %s on line %d
array(0) {

Binary file not shown.

View File

@@ -13,13 +13,13 @@ var_dump($a->{1});
var_dump($a->{function(){}});
?>
--EXPECTF--
Notice: Array to string conversion in %sclass_properties_const.php on line %d
Warning: Array to string conversion in %s on line %d
runtime
Notice: Undefined property: A::$Array in %sclass_properties_const.php on line %d
Warning: Undefined property: A::$Array in %s on line %d
NULL
Notice: Undefined property: A::$1 in %sclass_properties_const.php on line %d
Warning: Undefined property: A::$1 in %s on line %d
NULL
Fatal error: Uncaught Error: Object of class Closure could not be converted to string in %s:%d

View File

@@ -7,7 +7,7 @@ $a = clone $b;
?>
--EXPECTF--
Notice: Undefined variable: b in %s on line %d
Warning: Undefined variable: b in %s on line %d
Fatal error: Uncaught Error: __clone method called on non-object in %s:%d
Stack trace:

View File

@@ -16,8 +16,8 @@ $lambda();
var_dump($i);
?>
--EXPECTF--
Notice: Undefined variable: i in %sclosure_012.php on line 2
Warning: Undefined variable: i in %s on line %d
Notice: Undefined variable: i in %sclosure_012.php on line 7
Warning: Undefined variable: i in %s on line %d
NULL
int(2)

View File

@@ -27,7 +27,7 @@ object(stdClass)#%d (0) {
}
NULL
Notice: Undefined variable: y in %s on line %d
Warning: Undefined variable: y in %s on line %d
Exception: Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
Fatal error: Uncaught TypeError: Argument 1 passed to test() must be an instance of Closure, instance of stdClass given, called in %s on line %d and defined in %s:%d

View File

@@ -29,7 +29,7 @@ $cas->bindTo($a, 'A');
?>
--EXPECTF--
Notice: Array to string conversion in %s on line %d
Warning: Array to string conversion in %s on line %d
Warning: Class 'Array' not found in %s on line %d

View File

@@ -50,24 +50,24 @@ var_dump($d.$d);
echo "Done\n";
?>
--EXPECTF--
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
string(24) "Arraythis is test object"
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
string(16) "Arraysome string"
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
string(8) "Array222"
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
string(13) "Array2323.444"
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
string(10) "ArrayArray"
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
string(24) "this is test objectArray"
string(30) "this is test objectsome string"
string(22) "this is test object222"
@@ -75,20 +75,20 @@ string(27) "this is test object2323.444"
string(38) "this is test objectthis is test object"
string(30) "some stringthis is test object"
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
string(16) "some stringArray"
string(14) "some string222"
string(19) "some string2323.444"
string(22) "some stringsome string"
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
string(8) "222Array"
string(22) "222this is test object"
string(14) "222some string"
string(11) "2222323.444"
string(6) "222222"
Notice: Array to string conversion in %sconcat_001.php on line %d
Warning: Array to string conversion in %s on line %d
string(13) "2323.444Array"
string(27) "2323.444this is test object"
string(19) "2323.444some string"

View File

@@ -70,7 +70,7 @@ array(2) {
}
int(1)
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Undefined offset: 4 in %s on line %d

View File

@@ -33,5 +33,5 @@ print "ok\n";
?>
--EXPECTF--
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d
ok

View File

@@ -21,10 +21,10 @@ var_dump(b()[1]);
?>
--EXPECTF--
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d

View File

@@ -27,12 +27,12 @@ var_dump($h);
?>
--EXPECTF--
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
Notice: Trying to get property 'a' of non-object in %s on line %d
Warning: Trying to get property 'a' of non-object in %s on line %d
NULL
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
Notice: Trying to get property 'b' of non-object in %s on line %d
Warning: Trying to get property 'b' of non-object in %s on line %d
NULL

View File

@@ -7,7 +7,7 @@ $a::$b();
?>
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
Fatal error: Uncaught Error: Class name must be a valid object or a string in %s:%d
Stack trace:

View File

@@ -28,6 +28,6 @@ test2();
?>
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
int(1)
int(2)

View File

@@ -17,4 +17,4 @@ eval('class A { private function __invoke() { } }');
string(76) "The magic method __invoke() must have public visibility and cannot be static"
string(%d) "%s(%d) : eval()'d code"
Notice: Undefined variable: undefined in %s on line %d
Warning: Undefined variable: undefined in %s on line %d

View File

@@ -30,6 +30,6 @@ var_dump(error_reporting());
echo "Done\n";
?>
--EXPECTF--
Notice: Undefined variable: undef2 in %s on line %d
Warning: Undefined variable: undef2 in %s on line %d
int(32767)
Done

View File

@@ -18,6 +18,6 @@ var_dump(error_reporting());
echo "Done\n";
?>
--EXPECTF--
Notice: Undefined variable: undef in %s on line %d
Warning: Undefined variable: undef in %s on line %d
int(32767)
Done

View File

@@ -27,8 +27,8 @@ var_dump(error_reporting());
echo "Done\n";
?>
--EXPECTF--
Notice: Undefined variable: undef_value in %s on line %d
Warning: Undefined variable: undef_value in %s on line %d
Notice: Undefined variable: undef_name in %s on line %d
Warning: Undefined variable: undef_name in %s on line %d
int(32767)
Done

View File

@@ -27,6 +27,6 @@ var_dump(error_reporting());
echo "Done\n";
?>
--EXPECTF--
Notice: Undefined variable: undef3 in %s on line %d
Warning: Undefined variable: undef3 in %s on line %d
int(32767)
Done

View File

@@ -24,8 +24,8 @@ var_dump(error_reporting());
echo "Done\n";
?>
--EXPECTF--
Notice: Undefined variable: blah in %s on line %d
Warning: Undefined variable: blah in %s on line %d
Notice: Undefined variable: undef2 in %s on line %d
Warning: Undefined variable: undef2 in %s on line %d
int(32767)
Done

View File

@@ -8,7 +8,7 @@ foreach($a as $val);
echo "Done\n";
?>
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
Warning: Invalid argument supplied for foreach() in %s on line %d
Done

View File

@@ -41,9 +41,9 @@ array(3) {
int(6)
}
Notice: Undefined property: C::$b in %s on line %d
Warning: Undefined property: C::$b in %s on line %d
Notice: Undefined property: C::$c in %s on line %d
Warning: Undefined property: C::$c in %s on line %d
int(1)
NULL
NULL

View File

@@ -29,6 +29,6 @@ string(%d) "%s"
Notice: Undefined index: PHP_SELF in %s on line %d
NULL
Notice: Undefined variable: _SERVER in %s on line %d
Warning: Undefined variable: _SERVER in %s on line %d
NULL
Done

View File

@@ -32,6 +32,6 @@ string(%d) "%s"
Notice: Undefined index: PHP_SELF in %s on line %d
NULL
Notice: Undefined variable: _SERVER in %s on line %d
Warning: Undefined variable: _SERVER in %s on line %d
NULL
Done

View File

@@ -38,6 +38,6 @@ string(%d) "%s"
Notice: Undefined index: PHP_SELF in %s on line %d
NULL
Notice: Undefined variable: _SERVER in %s on line %d
Warning: Undefined variable: _SERVER in %s on line %d
NULL
Done

View File

@@ -23,6 +23,6 @@ string(%d) "%s"
Notice: Undefined index: PHP_SELF in %s on line %d
NULL
Notice: Undefined variable: _SERVER in %s on line %d
Warning: Undefined variable: _SERVER in %s on line %d
NULL
Done

View File

@@ -79,12 +79,12 @@ array(1) {
Warning: Illegal string offset 'foo' in %s on line %d
Notice: Array to string conversion in %s on line %d
Warning: Array to string conversion in %s on line %d
string(1) "A"
Warning: Illegal string offset 'foo' in %s on line %d
Notice: Array to string conversion in %s on line %d
Warning: Array to string conversion in %s on line %d
string(1) "A"
Cannot use a scalar value as an array
float(0.1)

View File

@@ -14,4 +14,4 @@ test();
?>
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d

View File

@@ -29,13 +29,13 @@ bool(true)
bool(false)
bool(false)
Notice: Undefined variable: c in %s on line %d
Warning: Undefined variable: c in %s on line %d
Notice: Undefined variable: d in %s on line %d
Warning: Undefined variable: d in %s on line %d
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
Notice: Trying to get property '' of non-object in %s on line %d
Warning: Trying to get property '' of non-object in %s on line %d
bool(false)
bool(true)
bool(false)

View File

@@ -29,6 +29,6 @@ int(1)
int(0)
int(1)
Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
Warning: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
Notice: Undefined offset: 1 in %s on line %d

View File

@@ -43,4 +43,4 @@ class E extends D {
--EXPECTF--
int(2)
Notice: Undefined variable: x in %s on line %d
Warning: Undefined variable: x in %s on line %d

View File

@@ -44,7 +44,7 @@ NULL
int(2)
int(1)
Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
Warning: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
int(%d)
Illegal offset type
Illegal offset type

View File

@@ -25,30 +25,30 @@ var_dump($bool[$arr]);
echo "Done\n";
?>
--EXPECTF--
Notice: Trying to access array offset on value of type bool in %s on line %d
Warning: Trying to access array offset on value of type bool in %s on line %d
NULL
Notice: Trying to access array offset on value of type bool in %s on line %d
Warning: Trying to access array offset on value of type bool in %s on line %d
NULL
Notice: Trying to access array offset on value of type bool in %s on line %d
Warning: Trying to access array offset on value of type bool in %s on line %d
NULL
Notice: Trying to access array offset on value of type bool in %s on line %d
Warning: Trying to access array offset on value of type bool in %s on line %d
NULL
Notice: Trying to access array offset on value of type bool in %s on line %d
Warning: Trying to access array offset on value of type bool in %s on line %d
NULL
Notice: Trying to access array offset on value of type bool in %s on line %d
Warning: Trying to access array offset on value of type bool in %s on line %d
NULL
Notice: Trying to access array offset on value of type bool in %s on line %d
Warning: Trying to access array offset on value of type bool in %s on line %d
NULL
Notice: Trying to access array offset on value of type bool in %s on line %d
Warning: Trying to access array offset on value of type bool in %s on line %d
NULL
Notice: Trying to access array offset on value of type bool in %s on line %d
Warning: Trying to access array offset on value of type bool in %s on line %d
NULL
Done

View File

@@ -25,30 +25,30 @@ var_dump($long[$arr]);
echo "Done\n";
?>
--EXPECTF--
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Notice: Trying to access array offset on value of type int in %s on line %d
Warning: Trying to access array offset on value of type int in %s on line %d
NULL
Done

View File

@@ -25,30 +25,30 @@ var_dump($null[$arr]);
echo "Done\n";
?>
--EXPECTF--
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Notice: Trying to access array offset on value of type null in %s on line %d
Warning: Trying to access array offset on value of type null in %s on line %d
NULL
Done

View File

@@ -42,10 +42,10 @@ echo "Done\n";
--EXPECTF--
string(1) "i"
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
string(1) "S"
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
string(1) "S"
Warning: Illegal string offset 'run away' in %s on line %d
@@ -58,10 +58,10 @@ string(1) "o"
Notice: A non well formed numeric value encountered in %s on line %d
string(1) "r"
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
string(1) "i"
Notice: String offset cast occurred in %s on line %d
Warning: String offset cast occurred in %s on line %d
string(1) "S"
Illegal offset type

View File

@@ -24,5 +24,5 @@ $x->prop;
$x->y;
echo "ok\n";
--EXPECTF--
Notice: Uninitialized string offset: 3 in %sresult_unused.php on line %d
Warning: Uninitialized string offset: 3 in %s on line %d
ok

Binary file not shown.

View File

@@ -28,19 +28,19 @@ string(1) "a"
string(1) "b"
string(1) "c"
Notice: Uninitialized string offset: 3 in %sstr_offset_001.php on line %d
Warning: Uninitialized string offset: 3 in %s on line %d
string(0) ""
string(1) "b"
Notice: Uninitialized string offset: 1 in %sstr_offset_001.php on line %d
Warning: Uninitialized string offset: 1 in %s on line %d
string(0) ""
string(1) "a"
string(1) "b"
string(1) "c"
Notice: Uninitialized string offset: 3 in %sstr_offset_001.php on line %d
Warning: Uninitialized string offset: 3 in %s on line %d
string(0) ""
string(1) "b"
Notice: Uninitialized string offset: 1 in %sstr_offset_001.php on line %d
Warning: Uninitialized string offset: 1 in %s on line %d
string(0) ""

View File

@@ -20,18 +20,18 @@ foo($str[2][-2]);
foo($str[2][-1]);
?>
--EXPECTF--
Notice: Uninitialized string offset: -10 in %sstr_offset_003.php on line %d
Warning: Uninitialized string offset: -10 in %s on line %d
string(0) ""
string(1) "d"
Notice: Uninitialized string offset: -2 in %sstr_offset_003.php on line %d
Warning: Uninitialized string offset: -2 in %s on line %d
string(0) ""
string(1) "c"
Notice: Uninitialized string offset: -10 in %sstr_offset_003.php on line %d
Warning: Uninitialized string offset: -10 in %s on line %d
string(0) ""
string(1) "d"
Notice: Uninitialized string offset: -2 in %sstr_offset_003.php on line %d
Warning: Uninitialized string offset: -2 in %s on line %d
string(0) ""
string(1) "c"

View File

@@ -14,6 +14,6 @@ var_dump($array[$fp]);
echo "Done\n";
?>
--EXPECTF--
Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
Warning: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
int(%d)
Done

View File

@@ -15,5 +15,5 @@ foo();
--EXPECTF--
Cannot re-assign $this
Notice: Undefined variable: a in %s on line %d
Warning: Undefined variable: a in %s on line %d
NULL

View File

@@ -15,7 +15,7 @@ function foo() {
foo();
?>
--EXPECTF--
Notice: Undefined property: C::$a in %s on line %d
Warning: Undefined property: C::$a in %s on line %d
object(C)#1 (1) {
["a"]=>
int(2)

View File

@@ -10,4 +10,4 @@ echo $x;
--EXPECTF--
ok
Notice: Undefined variable: x in %sunset_cv01.php on line %d
Warning: Undefined variable: x in %s on line %d

View File

@@ -10,4 +10,4 @@ echo $x;
--EXPECTF--
ok
Notice: Undefined variable: x in %sunset_cv02.php on line %d
Warning: Undefined variable: x in %s on line %d

View File

@@ -10,4 +10,4 @@ echo $x;
--EXPECTF--
ok
Notice: Undefined variable: x in %sunset_cv03.php on line %d
Warning: Undefined variable: x in %s on line %d

View File

@@ -13,4 +13,4 @@ f();
--EXPECTF--
ok
Notice: Undefined variable: x in %sunset_cv04.php on line %d
Warning: Undefined variable: x in %s on line %d

View File

@@ -17,6 +17,6 @@ echo $_SESSION;
echo "\nok\n";
?>
--EXPECTF--
Notice: Array to string conversion in %sunset_cv05.php on line %d
Warning: Array to string conversion in %s on line %d
Array
ok

View File

@@ -10,5 +10,5 @@ echo "ok\n";
--EXPECTF--
ok
Notice: Undefined variable: x in %sunset_cv09.php on line %d
Warning: Undefined variable: x in %s on line %d
ok

View File

@@ -12,5 +12,5 @@ echo "ok\n";
--EXPECTF--
ok
Notice: Undefined variable: x in %sunset_cv10.php on line %d
Warning: Undefined variable: x in %s on line %d
ok

View File

@@ -7,4 +7,4 @@ Cannot take property of a string
?>
--EXPECTF--
Notice: Trying to get property 'bar' of non-object in %s on line %d
Warning: Trying to get property 'bar' of non-object in %s on line %d

View File

@@ -264,7 +264,7 @@ static zend_never_inline ZEND_COLD zval* zval_undefined_cv(uint32_t var EXECUTE_
{
if (EXPECTED(EG(exception) == NULL)) {
zend_string *cv = CV_DEF_OF(EX_VAR_TO_NUM(var));
zend_error(E_NOTICE, "Undefined variable: %s", ZSTR_VAL(cv));
zend_error(E_WARNING, "Undefined variable: %s", ZSTR_VAL(cv));
}
return &EG(uninitialized_zval);
}
@@ -1326,7 +1326,7 @@ try_again:
case IS_NULL:
case IS_FALSE:
case IS_TRUE:
zend_error(E_NOTICE, "String offset cast occurred");
zend_error(E_WARNING, "String offset cast occurred");
break;
case IS_REFERENCE:
dim = Z_REFVAL_P(dim);
@@ -1456,7 +1456,7 @@ static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_wrong_property_read(z
{
zend_string *tmp_property_name;
zend_string *property_name = zval_get_tmp_string(property, &tmp_property_name);
zend_error(E_NOTICE, "Trying to get property '%s' of non-object", ZSTR_VAL(property_name));
zend_error(E_WARNING, "Trying to get property '%s' of non-object", ZSTR_VAL(property_name));
zend_tmp_string_release(tmp_property_name);
}
@@ -1894,7 +1894,7 @@ static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_cannot_add_element(vo
static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_use_resource_as_offset(const zval *dim)
{
zend_error(E_NOTICE, "Resource ID#%d used as offset, casting to integer (%d)", Z_RES_HANDLE_P(dim), Z_RES_HANDLE_P(dim));
zend_error(E_WARNING, "Resource ID#%d used as offset, casting to integer (%d)", Z_RES_HANDLE_P(dim), Z_RES_HANDLE_P(dim));
}
static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_use_new_element_for_string(void)
@@ -2237,7 +2237,7 @@ try_string_offset:
case IS_FALSE:
case IS_TRUE:
if (type != BP_VAR_IS) {
zend_error(E_NOTICE, "String offset cast occurred");
zend_error(E_WARNING, "String offset cast occurred");
}
break;
case IS_REFERENCE:
@@ -2255,7 +2255,7 @@ try_string_offset:
if (UNEXPECTED(Z_STRLEN_P(container) < (size_t)((offset < 0) ? -offset : (offset + 1)))) {
if (type != BP_VAR_IS) {
zend_error(E_NOTICE, "Uninitialized string offset: " ZEND_LONG_FMT, offset);
zend_error(E_WARNING, "Uninitialized string offset: " ZEND_LONG_FMT, offset);
ZVAL_EMPTY_STRING(result);
} else {
ZVAL_NULL(result);
@@ -2297,7 +2297,7 @@ try_string_offset:
ZVAL_UNDEFINED_OP2();
}
if (!is_list && type != BP_VAR_IS) {
zend_error(E_NOTICE, "Trying to access array offset on value of type %s",
zend_error(E_WARNING, "Trying to access array offset on value of type %s",
zend_zval_type_name(container));
}
ZVAL_NULL(result);
@@ -3146,7 +3146,7 @@ static zend_never_inline void zend_fetch_this_var(int type OPLINE_DC EXECUTE_DAT
Z_ADDREF_P(result);
} else {
ZVAL_NULL(result);
zend_error(E_NOTICE,"Undefined variable: this");
zend_error(E_WARNING, "Undefined variable: this");
}
break;
case BP_VAR_IS:

View File

@@ -777,7 +777,7 @@ call_getter:
ZSTR_VAL(prop_info->ce->name),
ZSTR_VAL(name));
} else {
zend_error(E_NOTICE,"Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name));
}
}
retval = &EG(uninitialized_zval);
@@ -1009,7 +1009,7 @@ ZEND_API zval *zend_std_get_property_ptr_ptr(zend_object *zobj, zend_string *nam
UNEXPECTED((*zend_get_property_guard(zobj, name)) & IN_GET)) {
if (UNEXPECTED(type == BP_VAR_RW || type == BP_VAR_R)) {
ZVAL_NULL(retval);
zend_error(E_NOTICE, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name));
}
} else {
/* we do have getter - fail and let it try again with usual get/set */
@@ -1037,7 +1037,7 @@ ZEND_API zval *zend_std_get_property_ptr_ptr(zend_object *zobj, zend_string *nam
/* Notice is thrown after creation of the property, to avoid EG(std_property_info)
* being overwritten in an error handler. */
if (UNEXPECTED(type == BP_VAR_RW || type == BP_VAR_R)) {
zend_error(E_NOTICE, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name));
}
}
}

View File

@@ -559,7 +559,7 @@ try_again:
break;
}
case IS_ARRAY:
zend_error(E_NOTICE, "Array to string conversion");
zend_error(E_WARNING, "Array to string conversion");
zval_ptr_dtor(op);
ZVAL_INTERNED_STR(op, ZSTR_KNOWN(ZEND_STR_ARRAY_CAPITALIZED));
break;
@@ -869,7 +869,7 @@ try_again:
return zend_strpprintf(0, "%.*G", (int) EG(precision), Z_DVAL_P(op));
}
case IS_ARRAY:
zend_error(E_NOTICE, "Array to string conversion");
zend_error(E_WARNING, "Array to string conversion");
return (try && UNEXPECTED(EG(exception))) ?
NULL : ZSTR_KNOWN(ZEND_STR_ARRAY_CAPITALIZED);
case IS_OBJECT: {

View File

@@ -1779,7 +1779,7 @@ ZEND_VM_C_LABEL(fetch_this):
} else if (type == BP_VAR_IS) {
retval = &EG(uninitialized_zval);
} else {
zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined variable: %s", ZSTR_VAL(name));
if (type == BP_VAR_RW) {
retval = zend_hash_update(target_symbol_table, name, &EG(uninitialized_zval));
} else {
@@ -1798,7 +1798,7 @@ ZEND_VM_C_LABEL(fetch_this):
} else if (type == BP_VAR_IS) {
retval = &EG(uninitialized_zval);
} else {
zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined variable: %s", ZSTR_VAL(name));
if (type == BP_VAR_RW) {
ZVAL_NULL(retval);
} else {

View File

@@ -8833,7 +8833,7 @@ fetch_this:
} else if (type == BP_VAR_IS) {
retval = &EG(uninitialized_zval);
} else {
zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined variable: %s", ZSTR_VAL(name));
if (type == BP_VAR_RW) {
retval = zend_hash_update(target_symbol_table, name, &EG(uninitialized_zval));
} else {
@@ -8852,7 +8852,7 @@ fetch_this:
} else if (type == BP_VAR_IS) {
retval = &EG(uninitialized_zval);
} else {
zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined variable: %s", ZSTR_VAL(name));
if (type == BP_VAR_RW) {
ZVAL_NULL(retval);
} else {
@@ -16493,7 +16493,7 @@ fetch_this:
} else if (type == BP_VAR_IS) {
retval = &EG(uninitialized_zval);
} else {
zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined variable: %s", ZSTR_VAL(name));
if (type == BP_VAR_RW) {
retval = zend_hash_update(target_symbol_table, name, &EG(uninitialized_zval));
} else {
@@ -16512,7 +16512,7 @@ fetch_this:
} else if (type == BP_VAR_IS) {
retval = &EG(uninitialized_zval);
} else {
zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined variable: %s", ZSTR_VAL(name));
if (type == BP_VAR_RW) {
ZVAL_NULL(retval);
} else {
@@ -45818,7 +45818,7 @@ fetch_this:
} else if (type == BP_VAR_IS) {
retval = &EG(uninitialized_zval);
} else {
zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined variable: %s", ZSTR_VAL(name));
if (type == BP_VAR_RW) {
retval = zend_hash_update(target_symbol_table, name, &EG(uninitialized_zval));
} else {
@@ -45837,7 +45837,7 @@ fetch_this:
} else if (type == BP_VAR_IS) {
retval = &EG(uninitialized_zval);
} else {
zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(name));
zend_error(E_WARNING, "Undefined variable: %s", ZSTR_VAL(name));
if (type == BP_VAR_RW) {
ZVAL_NULL(retval);
} else {

Some files were not shown because too many files have changed in this diff Show More