From cc1b476a312cbef0fba7a905ff6c560d90977519 Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Thu, 5 Mar 2026 14:54:23 +0800 Subject: [PATCH] =?UTF-8?q?test(aot):=20=E6=B7=BB=E5=8A=A0=E7=B1=BB?= =?UTF-8?q?=E9=9D=99=E6=80=81=E5=B8=B8=E9=87=8F=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 class-static-005.phpt 测试文件 - 测试 final public const 在静态方法中的访问 - 验证 static:: 访问修饰符的行为 - 确保版本常量能被正确输出 --- tests/aot/class-static-005.phpt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/aot/class-static-005.phpt diff --git a/tests/aot/class-static-005.phpt b/tests/aot/class-static-005.phpt new file mode 100644 index 00000000..098cdd83 --- /dev/null +++ b/tests/aot/class-static-005.phpt @@ -0,0 +1,21 @@ +--TEST-- +class static 005 +--FILE-- + +--EXPECT-- +string(5) "5.1.9"