← All built-ins / ui_clear()

ui_clear()

ui_clear(...$args): int

Parameters

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

See also

ui_remove()