<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Enter UI Loop</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.ui-quit.html">UI\quit</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.ui-draw-text-font-weight.html">UI\Draw\Text\Font\Weight</a></div> <div class="up"><a href="ref.ui.html">UI Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.ui-run" class="refentry"> <div class="refnamediv"> <h1 class="refname">UI\run</h1> <p class="verinfo">(PHP 7, UI 2.0.0)</p><p class="refpurpose"><span class="refname">UI\run</span> — <span class="dc-title">Enter UI Loop</span></p> </div> <div class="refsect1 description" id="refsect1-function.ui-run-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>UI\run</strong></span> ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code></span> ] )</div> <p class="para rdfs-comment"> Shall cause PHP to enter into the main loop, by default control will not be returned to the caller </p> </div> <div class="refsect1 parameters" id="refsect1-function.ui-run-parameters"> <h3 class="title">Parameters</h3> <dl> <dt> <code class="parameter">flags</code></dt> <dd> <p class="para"> Set UI\Loop to return control, and UI\Wait to return control after waiting </p> </dd> </dl> </div> <div class="refsect1 returnvalues" id="refsect1-function.ui-run-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.ui-quit.html">UI\quit</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.ui-draw-text-font-weight.html">UI\Draw\Text\Font\Weight</a></div> <div class="up"><a href="ref.ui.html">UI Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>