com php-src: Fix typo in XML test: ext/simplexml/tests/bug36611.phpt
| From: | Nikita Popov | Date: | Thu, 14 Feb 2019 11:59:08 +0000 |
| Subject: | com php-src: Fix typo in XML test: ext/simplexml/tests/bug36611.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104636@lists.php.net to get a copy of this message | ||
Commit: 29d87caebfa69ba4183be516b1fd803b9f92846a
Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 14 Feb 2019 12:59:08 +0100
Parents: e63febb1c772e15c1da891f00e3a343090e43c67
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=29d87caebfa69ba4183be516b1fd803b9f92846a
Log:
Fix typo in XML test
Uncovered by the change in e63febb1c772e15c1da891f00e3a343090e43c67.
Changed paths:
M ext/simplexml/tests/bug36611.phpt
Diff:
diff --git a/ext/simplexml/tests/bug36611.phpt b/ext/simplexml/tests/bug36611.phpt
index d9c2a04..34c92ce 100644
--- a/ext/simplexml/tests/bug36611.phpt
+++ b/ext/simplexml/tests/bug36611.phpt
@@ -19,14 +19,12 @@ $xml = simplexml_load_string($xml_str);
$val = 1;
var_dump($val);
-$zml->pos["act_idx"] = $val;
+$xml->pos["act_idx"] = $val;
var_dump($val);
?>
===DONE===
---EXPECTF--
+--EXPECT--
int(1)
-
-Warning: Creating default object from empty value in %sbug36611.php on line 17
int(1)
===DONE===