← All built-ins / ui_clear()
ui_clear()
ui_clear(...$args): int
Parameters
| Name | Type | Description |
|---|---|---|
| $handle | int | list/combo/input handle |
Return value
Removes all items (or all text).
Example
echo "ui_clear($list);";
ui_clear($list);
This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.