1--TEST--
2SimpleXML: Property assignment return value
3--SKIPIF--
4<?php if (!extension_loaded("simplexml")) print "skip"; ?>
5--FILE--
6<?php
7$xml =<<<EOF
8<root></root>
9EOF;
10$root = simplexml_load_string($xml);
11var_dump($root->prop = 42);
12?>
13--EXPECT--
14int(42)
15