From c7e752422a7481ee32cc6af58019c4da0e8bd289 Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Sat, 13 Jun 2026 11:20:38 +0800 Subject: [PATCH] =?UTF-8?q?test(aot):=20=E6=B7=BB=E5=8A=A0=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=E9=A1=B9isset=E6=93=8D=E4=BD=9C=E7=9A=84?= =?UTF-8?q?=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 - 添加了基本的字符串isset测试文件 - 测试不同索引位置的isset操作行为 - 验证字符串类型在AOT编译下的表现 - 包含null合并运算符的测试场景 --- tests/aot/basic/string-item-isset.phpt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/aot/basic/string-item-isset.phpt diff --git a/tests/aot/basic/string-item-isset.phpt b/tests/aot/basic/string-item-isset.phpt new file mode 100644 index 00000000..c29c2119 --- /dev/null +++ b/tests/aot/basic/string-item-isset.phpt @@ -0,0 +1,18 @@ +--TEST-- +string item isset +--FILE-- + +--EXPECT-- +bool(true) +bool(true) +bool(false) +string(1) "?"