# getElementById

```php
getElementById ( string $id ) : object
```

Searches an element by id.

| Parameter | Description
| --------- | -----------
| `id`      | ID of the element to find.

Returns the element or null if no match was found.