summaryrefslogtreecommitdiff
path: root/Zend/tests/bug31098.phpt
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-24 10:58:46 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-05-18 08:27:00 +0200
commit1179686f62cf976c8bccc7564e5ed41a3c5eb3a5 (patch)
tree6e40981a0362e9fd5252c385b9cd95f906239920 /Zend/tests/bug31098.phpt
parentb1fddec7175948b7bb36f8316e7cae0124460934 (diff)
downloadphp-git-1179686f62cf976c8bccc7564e5ed41a3c5eb3a5.tar.gz
Improve error messages for invalid property access
Closes GH-5446 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
Diffstat (limited to 'Zend/tests/bug31098.phpt')
-rw-r--r--Zend/tests/bug31098.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/bug31098.phpt b/Zend/tests/bug31098.phpt
index 3276782c01..4d01d36cd8 100644
--- a/Zend/tests/bug31098.phpt
+++ b/Zend/tests/bug31098.phpt
@@ -44,7 +44,7 @@ ok
ok
ok
-Warning: Trying to get property 'wrong' of non-object in %s on line %d
+Warning: Attempt to read property 'wrong' on string in %s on line %d
ok
Warning: Illegal string offset 'wrong' in %s on line %d