function simple_html_dom_node::last_child in simplehtmldom API 6
Same name and namespace in other branches
- 5.2 simplehtmldom/simple_html_dom.php \simple_html_dom_node::last_child()
- 7 simplehtmldom/simple_html_dom.php \simple_html_dom_node::last_child()
1 call to simple_html_dom_node::last_child()
- simple_html_dom_node::lastChild in simplehtmldom/
simple_html_dom.php
File
- simplehtmldom/
simple_html_dom.php, line 138
Class
Code
function last_child() {
if (($count = count($this->children)) > 0) {
return $this->children[$count - 1];
}
return null;
}