mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Fix tests
This commit is contained in:
parent
2f62602c03
commit
2fe9f37026
@ -12,5 +12,7 @@ foreach($var['nosuchkey'] as $v) {
|
||||
?>
|
||||
===DONE===
|
||||
--EXPECTF--
|
||||
Warning: Illegal string offset 'nosuchkey' in %sbug29566.php on line %d
|
||||
|
||||
Warning: Invalid argument supplied for foreach() in %sbug29566.php on line %d
|
||||
===DONE===
|
||||
|
@ -15,8 +15,13 @@ var_dump($array['expected_array']['foo']['bar']);
|
||||
--EXPECTF--
|
||||
bool(true)
|
||||
string(6) "foobar"
|
||||
bool(true)
|
||||
string(1) "f"
|
||||
bool(true)
|
||||
string(1) "f"
|
||||
bool(false)
|
||||
|
||||
Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d
|
||||
string(1) "f"
|
||||
bool(false)
|
||||
|
||||
Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d
|
||||
|
||||
Warning: Illegal string offset 'bar' in %soffsets_chaining_5.php on line %d
|
||||
string(1) "f"
|
||||
|
Loading…
Reference in New Issue
Block a user