← All built-ins / ui_quit()
ui_quit()
ui_quit(): void
Parameters
Takes no arguments.
Return value
Ends the event loop and closes the application.
Example
echo "ui_quit(); // ends the app";
ui_quit(); // ends the app
This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.