downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DomNode->get_content> <DomNode->dump_node
Last updated: Fri, 06 Nov 2009

view this page in

DomNode->first_child

(PHP 4 >= 4.1.0)

DomNode->first_child Returns first child of node

Description

domelement DomNode->first_child ( void )

Returns the first child of the node.

(PHP >= 4.3 only) If no first child is found, NULL is returned.

See also domnode_last_child(), and domnode_next_sibling(), domnode_previous_sibling().



add a note add a note User Contributed Notes
DomNode->first_child
20-May-2007 04:52
in PHP5's DOM (Not DOM-XML) class use firstChild variable instead of first_child() function.

DomNode->get_content> <DomNode->dump_node
Last updated: Fri, 06 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites