View file core/libs/htmlParser/manual/docs/api/simple_html_dom/dump.md

File size: 292B
# dump

```php
dump ( [ bool show_attr = true ] ) : string
```

Dumps the entire DOM into a string. Useful for debugging purposes.

| Parameter     | Description
| ---------     | -----------
| `show_attr`   | Attributes are included in the dump when enabled.

Returns the DOM tree as string.