summaryrefslogtreecommitdiff
path: root/ext/simplexml
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/simplexml
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/simplexml')
-rw-r--r--ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt2
-rw-r--r--ext/simplexml/tests/bug38406.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt b/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt
index 28e0517651..c050ca2dd4 100644
--- a/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt
+++ b/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt
@@ -11,7 +11,7 @@ $xml = simplexml_load_string("XXXXXXX^",$x,0x6000000000000001);
var_dump($xml);
?>
--EXPECTF--
-Notice: Undefined variable: x in %s on line %d
+Warning: Undefined variable: x in %s on line %d
Warning: simplexml_load_string(): Invalid options in %s on line %d
bool(false)
diff --git a/ext/simplexml/tests/bug38406.phpt b/ext/simplexml/tests/bug38406.phpt
index ea92229496..51a716cbd3 100644
--- a/ext/simplexml/tests/bug38406.phpt
+++ b/ext/simplexml/tests/bug38406.phpt
@@ -27,7 +27,7 @@ object(SimpleXMLElement)#%d (1) {
string(9) "something"
}
-Notice: Array to string conversion in %s on line %d
+Warning: Array to string conversion in %s on line %d
Warning: It is not yet possible to assign complex types to properties in %s on line %d
Done