Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<UI\quitUI\Draw\Text\Font\Weight>
^UI FunctionsLast updated: Mon, 26 Oct 2026

UI\run

(UI 2.0.0)

UI\run — Enter UI Loop

Description

function UI\run(int $flags = ?): void

Shall cause PHP to enter into the main loop, by default control will not be returned to the caller

Parameters

flags

Set UI\Loop to return control, and UI\Wait to return control after waiting

Return Values


<UI\quitUI\Draw\Text\Font\Weight>
^UI FunctionsLast updated: Mon, 26 Oct 2026