From 77e0268f0a637c75a0402fb0bdaf5eeb5321dd67 Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Fri, 22 May 2026 20:42:15 +0800 Subject: [PATCH] =?UTF-8?q?test(aot):=20=E6=B7=BB=E5=8A=A0=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=A3=B0=E6=98=8E=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 创建新的AOT类型声明测试文件 011.phpt - 添加Foo1和Foo2类定义用于测试 - 实现main函数测试any类型处理逻辑 - 添加随机对象创建和方法调用验证 - 设置期望输出格式匹配规则 --- tests/aot/type_decl/011.phpt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/aot/type_decl/011.phpt diff --git a/tests/aot/type_decl/011.phpt b/tests/aot/type_decl/011.phpt new file mode 100644 index 00000000..03cb8d02 --- /dev/null +++ b/tests/aot/type_decl/011.phpt @@ -0,0 +1,30 @@ +--TEST-- +Type Declarations +--FILE-- +run(); + } +} +?> +--EXPECTF-- +string(9) "Foo%d::run" \ No newline at end of file