← All built-ins / ui_close()

ui_close()

ui_close(...$args): int

Parameters

NameTypeDescription
$handleintwindow/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.

See also

ui_window()