fix(tests): 修正数组越界测试的期望输出格式

- 移除冗长的数组结构化输出格式
- 简化为直接整数值输出
- 保留数组索引越界的异常信息
- 更新测试断言以匹配实际运行结果
pull/1/head
韩天峰 4 months ago
parent 805f2a62ee
commit 3f9f87ba7f
  1. 10
      tests/aot/std-array/001.phpt

@ -16,12 +16,6 @@ function main() {
}
?>
--EXPECT--
array(1) {
[0]=>
int(2026)
}
array(1) {
[0]=>
int(0)
}
int(2026)
int(0)
Array index out of bounds: index 100, size 100

Loading…
Cancel
Save