diff options
| author | Xinchen Hui <laruence@php.net> | 2011-12-19 16:57:36 +0000 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2011-12-19 16:57:36 +0000 |
| commit | 2fe9f37026cec08335100b9719b0fded3abc8a8e (patch) | |
| tree | ad0fd32a08a7dcddcfdc10d2702e5d720d14d57b /tests/strings | |
| parent | 2f62602c03c08c9d6c83f0ec8755d480eb9af900 (diff) | |
| download | php-git-2fe9f37026cec08335100b9719b0fded3abc8a8e.tar.gz | |
Fix tests
Diffstat (limited to 'tests/strings')
| -rw-r--r-- | tests/strings/offsets_chaining_5.phpt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/strings/offsets_chaining_5.phpt b/tests/strings/offsets_chaining_5.phpt index f0e27c2cfd..efcf2f3074 100644 --- a/tests/strings/offsets_chaining_5.phpt +++ b/tests/strings/offsets_chaining_5.phpt @@ -15,8 +15,13 @@ var_dump($array['expected_array']['foo']['bar']); --EXPECTF-- bool(true) string(6) "foobar" -bool(true) -string(1) "f" -bool(true) +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" |
