0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.12.151.11


Current Path : /var/www/website/nublr/Regulations/simplehtmldom/manual/docs/api/HtmlNode/
Upload File :
Current File : /var/www/website/nublr/Regulations/simplehtmldom/manual/docs/api/HtmlNode/seek.md

---
title: seek (protected)
---

```php
seek (
    string $selector
    , array &$ret
    , string $parent_cmd
    [, bool $lowercase = false ]
)
```

| Parameter     | Description
| ---------     | -----------
| `selector`    | The current selector.
| `ret`         | Previous return value (starting point).
| `parent_cmd`  | The combinator used before the current selector.
| `lowercase`   | Matches tag names case insensitive (lowercase) if enabled.

Starts by searching for child elements of `$ret` that match the specified selector. Adds matching elements to `$ret` (for the next iteration).