mirror of
https://github.com/php/php-src.git
synced 2025-01-20 10:43:40 +08:00
Fix tests (removed space on error message "Undefined index: ...")
This commit is contained in:
parent
2e0b0d8f58
commit
40af7d8db4
@ -30,7 +30,7 @@ var_dump($obj);
|
||||
--EXPECTF--
|
||||
string(3) "bar"
|
||||
|
||||
Notice: Undefined offset: 2 in %sbug37667.php on line 16
|
||||
Notice: Undefined offset: 2 in %sbug37667.php on line 16
|
||||
NULL
|
||||
object(Test)#%d (1) {
|
||||
["property":protected]=>
|
||||
@ -54,7 +54,7 @@ object(Test)#%d (1) {
|
||||
--UEXPECTF--
|
||||
unicode(3) "bar"
|
||||
|
||||
Notice: Undefined offset: 2 in %sbug37667.php on line %d
|
||||
Notice: Undefined offset: 2 in %sbug37667.php on line %d
|
||||
NULL
|
||||
object(Test)#%d (1) {
|
||||
[u"property":protected]=>
|
||||
|
@ -6,4 +6,6 @@ Bug #39304 (Segmentation fault with list unpacking of string offset)
|
||||
list($a, $b) = $s[0];
|
||||
?>
|
||||
--EXPECTF--
|
||||
Notice: Uninitialized string offset: 0 in %sbug39304.php on line 3
|
||||
|
||||
Fatal error: Cannot use string offset as an array in %sbug39304.php on line 3
|
||||
|
@ -26,7 +26,7 @@ string(5) "array"
|
||||
int(%d)
|
||||
string(%d) "%s"
|
||||
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Undefined variable: _SERVER in %s on line %d
|
||||
@ -39,7 +39,7 @@ unicode(5) "array"
|
||||
int(%d)
|
||||
string(%d) "%s"
|
||||
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Undefined variable: _SERVER in %s on line %d
|
||||
|
@ -29,7 +29,7 @@ string(5) "array"
|
||||
int(%d)
|
||||
string(%d) "%s"
|
||||
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Undefined variable: _SERVER in %s on line %d
|
||||
@ -42,7 +42,7 @@ unicode(5) "array"
|
||||
int(%d)
|
||||
string(%d) "%s"
|
||||
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Undefined variable: _SERVER in %s on line %d
|
||||
|
@ -35,7 +35,7 @@ string(5) "array"
|
||||
int(%d)
|
||||
string(%d) "%s"
|
||||
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Undefined variable: _SERVER in %s on line %d
|
||||
@ -48,7 +48,7 @@ unicode(5) "array"
|
||||
int(%d)
|
||||
string(%d) "%s"
|
||||
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Undefined variable: _SERVER in %s on line %d
|
||||
|
@ -20,7 +20,7 @@ string(5) "array"
|
||||
int(%d)
|
||||
string(%d) "%s"
|
||||
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Undefined variable: _SERVER in %s on line %d
|
||||
@ -33,7 +33,7 @@ unicode(5) "array"
|
||||
int(%d)
|
||||
string(%d) "%s"
|
||||
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
Notice: Undefined index: PHP_SELF in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Undefined variable: _SERVER in %s on line %d
|
||||
|
@ -28,10 +28,10 @@ echo "Done\n";
|
||||
int(2)
|
||||
int(1)
|
||||
|
||||
Notice: Undefined index: in %s on line %d
|
||||
Notice: Undefined index: in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Undefined index: run away in %s on line %d
|
||||
Notice: Undefined index: run away in %s on line %d
|
||||
NULL
|
||||
int(2)
|
||||
int(1)
|
||||
|
@ -135,11 +135,11 @@ object::offsetGet(4th)
|
||||
int(4)
|
||||
object::offsetGet(5th)
|
||||
|
||||
Notice: Undefined index: 5th in %sarray_access_001.php on line %d
|
||||
Notice: Undefined index: 5th in %sarray_access_001.php on line %d
|
||||
NULL
|
||||
object::offsetGet(6)
|
||||
|
||||
Notice: Undefined offset: 6 in %sarray_access_001.php on line %d
|
||||
Notice: Undefined offset: 6 in %sarray_access_001.php on line %d
|
||||
NULL
|
||||
===offsetSet===
|
||||
WRITE 1
|
||||
@ -248,11 +248,11 @@ object::offsetGet(4th)
|
||||
int(4)
|
||||
object::offsetGet(5th)
|
||||
|
||||
Notice: Undefined index: 5th in %sarray_access_001.php on line %d
|
||||
Notice: Undefined index: 5th in %sarray_access_001.php on line %d
|
||||
NULL
|
||||
object::offsetGet(6)
|
||||
|
||||
Notice: Undefined offset: 6 in %sarray_access_001.php on line %d
|
||||
Notice: Undefined offset: 6 in %sarray_access_001.php on line %d
|
||||
NULL
|
||||
===offsetSet===
|
||||
WRITE 1
|
||||
|
@ -135,11 +135,11 @@ object::offsetGet(4th)
|
||||
int(4)
|
||||
object::offsetGet(5th)
|
||||
|
||||
Notice: Undefined index: 5th in %sarray_access_002.php on line %d
|
||||
Notice: Undefined index: 5th in %sarray_access_002.php on line %d
|
||||
NULL
|
||||
object::offsetGet(6)
|
||||
|
||||
Notice: Undefined offset: 6 in %sarray_access_002.php on line %d
|
||||
Notice: Undefined offset: 6 in %sarray_access_002.php on line %d
|
||||
NULL
|
||||
===offsetSet===
|
||||
WRITE 1
|
||||
@ -248,11 +248,11 @@ object::offsetGet(4th)
|
||||
int(4)
|
||||
object::offsetGet(5th)
|
||||
|
||||
Notice: Undefined index: 5th in %sarray_access_002.php on line %d
|
||||
Notice: Undefined index: 5th in %sarray_access_002.php on line %d
|
||||
NULL
|
||||
object::offsetGet(6)
|
||||
|
||||
Notice: Undefined offset: 6 in %sarray_access_002.php on line %d
|
||||
Notice: Undefined offset: 6 in %sarray_access_002.php on line %d
|
||||
NULL
|
||||
===offsetSet===
|
||||
WRITE 1
|
||||
|
Loading…
Reference in New Issue
Block a user