← All built-ins / ui_progress()
ui_progress()
ui_progress(...$args): int
Parameters
| Name | Type | Description |
|---|---|---|
| $handle | int | progress-bar handle |
| $percent | int | 0–100 |
Return value
Sets the progress value.
Example
echo "ui_progress($bar, 75);";
ui_progress($bar, 75);
This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.