--TEST-- SimpleXML [profile]: Accessing two attributes with the same name, but different namespaces --SKIPIF-- --FILE-- '); $rsattr = $root->child->attributes('reserved-ns'); $spattr = $root->child->attributes('special-ns'); echo $rsattr['attribute']; echo "\n"; echo $spattr['attribute']; echo "\n---Done---\n"; ?> --EXPECT-- Sample Test ---Done---