From aace0fd816d2897fbb5512c8bfb814ecdfdcf3a0 Mon Sep 17 00:00:00 2001 From: NathanFreeman <1056159381@qq.com> Date: Fri, 31 Jul 2026 21:38:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=89=BA=E6=9C=AF=E5=AD=97=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TypePHP.txt | 4 ++-- bin/bootstrap.php | 1 + bin/tpc.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TypePHP.txt b/TypePHP.txt index 2f8ee52e..3b242480 100644 --- a/TypePHP.txt +++ b/TypePHP.txt @@ -2,5 +2,5 @@ /_ __/_ ______ ___ / __ \/ / / / __ \ / ____/___ ____ ___ ____ (_) /__ _____ / / / / / / __ \/ _ \/ /_/ / /_/ / /_/ / / / / __ \/ __ `__ \/ __ \/ / / _ \/ ___/ / / / /_/ / /_/ / __/ ____/ __ / ____/ / /___/ /_/ / / / / / / /_/ / / / __/ / -/_/ \__, / .___/\___/_/ /_/ /_/_/ \____/\____/_/ /_/ /_/ .___/_/_/\___/_/ - /____/_/ /_/ v%s \ No newline at end of file +/_/ \__, / .___/\___/_/ /_/ /_/_/ \____/\____/_/ /_/ /_/ .___/_/_/\___/_/ v%s + /____/_/ /_/ %s diff --git a/bin/bootstrap.php b/bin/bootstrap.php index ca8a1b26..fe6616c4 100644 --- a/bin/bootstrap.php +++ b/bin/bootstrap.php @@ -2,6 +2,7 @@ define("ROOT_PATH", dirname(__DIR__)); define('DEBUG', true); define('VERSION', '0.4.1'); +define('WEBSITE', 'https://www.swoole.com/aot/'); require ROOT_PATH . '/vendor/autoload.php'; require ROOT_PATH . '/src/functions.php'; \ No newline at end of file diff --git a/bin/tpc.php b/bin/tpc.php index ea4f8e11..7b9fd65f 100755 --- a/bin/tpc.php +++ b/bin/tpc.php @@ -5,7 +5,7 @@ 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'), VERSION) . PHP_EOL; +echo sprintf(file_get_contents(ROOT_PATH . "/TypePHP.txt"), VERSION, WEBSITE) . PHP_EOL; const TYPEPHP_PHP_SCRIPT_ENTRY = true; main($argc, $argv);