From 08ee0328f48578ae6c9db0fd5e9a1d6979639a61 Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Fri, 27 Feb 2026 17:03:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(php):=20=E6=B7=BB=E5=8A=A0=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=A3=B0=E6=98=8E=E8=A7=A3=E6=9E=90=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在PHP解析器中添加Stmt_Interface语句类型的处理分支 - 实现接口声明的基本解析逻辑 - 为后续接口相关功能扩展奠定基础 --- src/Php/Translator.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Php/Translator.php b/src/Php/Translator.php index b74d3f77..d808d211 100644 --- a/src/Php/Translator.php +++ b/src/Php/Translator.php @@ -632,6 +632,8 @@ class Translator extends Preprocessor case 'Stmt_Use': $code .= $this->parseUse($v2) . PHP_EOL; break; + case 'Stmt_Interface': + break; default: abort($v2); }