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.
11 lines
376 B
11 lines
376 B
#!/usr/bin/env php
|
|
<?php
|
|
require __DIR__ . '/bootstrap.php';
|
|
require __DIR__ . '/../src/polyfills.php';
|
|
require __DIR__ . '/../src/gen_stub.php';
|
|
require __DIR__ . '/../src/compiler.php';
|
|
|
|
echo sprintf(file_get_contents(ROOT_PATH."/TypePHP.txt"), \TypePhp\Translator::VERSION, \TypePhp\Translator::WEBSITE).PHP_EOL;
|
|
|
|
const TYPEPHP_PHP_SCRIPT_ENTRY = true;
|
|
main($argc, $argv);
|
|
|