summaryrefslogtreecommitdiff
path: root/ext/libxml/tests/bug61367-read.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-01 13:20:42 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-10-02 10:34:08 +0200
commit2f92957fd3d8d87e73013c016e479451db0c6a1e (patch)
treeca7d2d34038d7e1fb0e511962ad0db5e57390c63 /ext/libxml/tests/bug61367-read.phpt
parent2041c9abf5fdaa9d0e632e5e6e4f3488159c9bfe (diff)
downloadphp-git-2f92957fd3d8d87e73013c016e479451db0c6a1e.tar.gz
Convert some notices to warnings
Part of https://wiki.php.net/rfc/engine_warnings.
Diffstat (limited to 'ext/libxml/tests/bug61367-read.phpt')
-rw-r--r--ext/libxml/tests/bug61367-read.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/libxml/tests/bug61367-read.phpt b/ext/libxml/tests/bug61367-read.phpt
index 98aad5b591..f82ecf138a 100644
--- a/ext/libxml/tests/bug61367-read.phpt
+++ b/ext/libxml/tests/bug61367-read.phpt
@@ -4,7 +4,6 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test
<?php if(!extension_loaded('dom')) echo 'skip dom extension not available'; ?>
--INI--
open_basedir=.
-error_reporting=E_ALL & ~E_NOTICE
--FILE--
<?php
/*
@@ -58,3 +57,7 @@ Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "f
Warning: DOMDocument::loadXML(): Failure to process entity file in Entity, line: 4 in %s on line %d
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: Trying to get property 'nodeValue' of non-object in %s on line %d