function simple_html_dom_node::last_child in simplehtmldom API 5.2
Same name and namespace in other branches
- 6 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;
}