--TEST-- XML Serializer - Bug #9799: attributesArray is poorly named --FILE-- array( array('id'=>'blue', '-' => 'red'), array('id'=>'qqq', '-' => 'green') ) ); $options = array( 'addDecl' => true, 'rootName'=>'truecolor', 'indent'=>' ', 'mode'=>'simplexml', 'scalarAsAttributes'=>array('f'=>array('id')), 'attributesArray'=>'+', 'contentName'=>'-', ); $s = new XML_Serializer($options); $status = $s->serialize($color); echo $s->getSerializedData(); ?> --EXPECT-- red green