summaryrefslogtreecommitdiff
path: root/ext/libxml
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 /ext/libxml
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 'ext/libxml')
-rw-r--r--ext/libxml/tests/bug61367-read.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/libxml/tests/bug61367-read.phpt b/ext/libxml/tests/bug61367-read.phpt
index 97b6513094..2dd8ca7c21 100644
--- a/ext/libxml/tests/bug61367-read.phpt
+++ b/ext/libxml/tests/bug61367-read.phpt
@@ -58,6 +58,6 @@ Warning: DOMDocument::loadXML(): Failure to process entity file in Entity, line:
Warning: DOMDocument::loadXML(): Entity 'file' not defined in Entity, line: 4 in %s on line %d
-Warning: Trying to get property 'firstChild' of non-object in %s on line %d
+Warning: Attempt to read property 'firstChild' on null in %s on line %d
-Warning: Trying to get property 'nodeValue' of non-object in %s on line %d
+Warning: Attempt to read property 'nodeValue' on null in %s on line %d