File manager - Edit - /home/carfac/.trash/wp-optimize.1/vendor/simplehtmldom/simplehtmldom/docs/HtmlDocument/load.md
Back
```php load ( string $str [, bool $lowercase = true [, bool $stripRN = true [, string $defaultBRText = DEFAULT_BR_TEXT [, string $defaultSpanText = DEFAULT_SPAN_TEXT [, int $options = 0 ]]]]]) : object ``` Loads the provided HTML document string. | Parameter | Description | |-------------------|------------------------------------------------------------------------------------------------------------------------------------| | `str` | The HTML document string. | | `lowercase` | Tag names are parsed in lowercase letters if enabled. | | `stripRN` | Newline characters are replaced by whitespace if enabled. | | `defaultBRText` | Defines the default text to return for `<br>` elements. | | `defaultSpanText` | Defines the default text to return for `<span>` elements. | | `options` | Additional options for the parser. Currently supports `'HDOM_SMARTY_AS_TEXT'` to remove [Smarty](https://www.smarty.net/) scripts. | Returns the object.
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings