← All built-ins / ui_close()
ui_close()
ui_close(...$args): int
Parameters
| Name | Type | Description |
|---|---|---|
| $handle | int | window/control handle |
Return value
Destroys the window/control.
Example
echo "ui_close($ctrl);";
ui_close($ctrl);
This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.