Returns array with nodes with given tagname in document or empty array, if not found

DomDocument->get_element_by_id
DomDocument->html_dump_mem
DOM XML (PHP 4) Functions
PHP Manual

# DomDocument->get_elements_by_tagname

(PHP 4 >= 4.1.0)

DomDocument->get_elements_by_tagname — Returns array with nodes with given tagname in document or empty array, if not found

### Description

array DomDocument->get_elements_by_tagname ( string `$name` )

See also domdocument_add_root()

DomDocument->get_element_by_id
DomDocument->html_dump_mem
DOM XML (PHP 4) Functions
PHP Manual