--TEST-- SimpleXML: Property assignment return value --SKIPIF-- --FILE-- EOF; $root = simplexml_load_string($xml); var_dump($root->prop = 42); ?> --EXPECT-- int(42)