ascvh@#%(^-^)V ?host,ip,port,protocol,title,domain,country,city,link,org ???à JFIF x x ?? C ?? C ?à " ?? ?? μ } !1AQa "q2?‘?#B±áR?e$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??…???‰?’“”?–—???¢£¤¥|§¨?a23′μ?·?1o??????èéêòó???×?ùúáa?????èéê?òó???÷?ùú?? ?? μ w !1AQ aq"2?B‘?±á #3Rebr?{
File "removeChild.md"
Full Path: /home/zcziejy/ryadselyen/plugins/wp-optimize/vendor/simplehtmldom/simplehtmldom/docs/HtmlNode/removeChild.md
File size: 820 bytes
MIME-type: text/html
Charset: utf-8
```php
removeChild ( object $node )
```
| Parameter | Description |
|-----------|------------------------------------------------------------------------------|
| `node` | Node to remove from current element, must be a child of the current element. |
Removes the node recursively from the DOM.
Does nothing if the provided node is not a child of the current node.
**Example**
```php
$html->load(<<<EOD
<html>
<body>
<table>
<tr><th>Title</th></tr>
<tr><td>Row 1</td></tr>
</table>
</body>
</html>
EOD
);
$body = $html->find('body', 0);
$body->removeChild($body->find('table', 0));
echo $html;
/**
* Returns
*
* <html> <body> </body> </html>
*/
```
**Remarks**
* Whitespace immediately **before** the removed node will remain in the DOM.