---
title: dump_node
---

```php
dump_node ( [ bool $echo = true ] ) : mixed
```

| Parameter | Description
| --------- | -----------
| `echo`    | Echoes the dump details directly if enabled.

Dumps information about the current document node. Returns a string if `$echo` is set to false, null otherwise.