File "find.md"
Full Path: /var/www/html/wordpress/wp-content/plugins/wp-optimize/vendor/simplehtmldom/simplehtmldom/docs/HtmlDocument/find.md
File size: 527 bytes
MIME-type: text/plain
Charset: utf-8
```php
find ( string $selector [, int $idx = null [, bool $lowercase = false ]] ) : mixed
```
Finds elements in the DOM.
| Parameter | Description |
|-------------|--------------------------------------------------|
| `selector` | A [CSS style selector](../HtmlNode/find.md). |
| `idx` | Index of the element to return. |
| `lowercase` | Matches tag names case insensitive when enabled. |
Returns an array of matches or a single element if `idx` is defined.