TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
307 B

<?php
function main(): void
{
ui_app_init('TypePHP macOS Hello');
HelloApplication::build('AppKit');
ui_show_window();
while (true) {
$controlId = ui_next_event();
if ($controlId < 0) {
break;
}
HelloApplication::handleEvent($controlId);
}
}