DomDocument->get_elements_by_tagname

Returns array with nodes with given tagname in document or empty array, if not found ()
array DomDocument->get_elements_by_tagname ( string name )

说明

See also domdocument_add_root()