summaryrefslogtreecommitdiff
path: root/ext/simplexml
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-02-14 12:59:08 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-02-14 12:59:08 +0100
commit29d87caebfa69ba4183be516b1fd803b9f92846a (patch)
tree6641c8d2ca6c9f103f3bfd3931120642c11d934d /ext/simplexml
parente63febb1c772e15c1da891f00e3a343090e43c67 (diff)
downloadphp-git-29d87caebfa69ba4183be516b1fd803b9f92846a.tar.gz
Fix typo in XML test
Uncovered by the change in e63febb1c772e15c1da891f00e3a343090e43c67.
Diffstat (limited to 'ext/simplexml')
-rw-r--r--ext/simplexml/tests/bug36611.phpt6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/simplexml/tests/bug36611.phpt b/ext/simplexml/tests/bug36611.phpt
index d9c2a049b5..34c92ce0bc 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===