--TEST-- SimpleXML [profile]: Accessing an attribute --SKIPIF-- --FILE-- '); echo $root->child['attribute']; echo "\n---Done---\n"; ?> --EXPECT-- Sample ---Done---