---
title: appendChild
---

```php
appendChild ( object $node ) : object
```

| Parameter | Description
| --------- | -----------
| `node`    | An object of type [`HtmlNode`](../HtmlNode/)

Makes the current node parent of the node provided to this function.

Returns the provided node.
