Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道如何在 Netbeans IDE 8.2 中使用 php 7.3 吗?我现在只能使用 php 7.0。我的 XAMPP 支持 PHP 7.3,我想使用的框架需要它,但 IDE 不允许我使用它。
NetBeans IDE 8.2(发行说明)仅支持 PHP/7.0 功能。不可能,因为 PHP 7.3 于 2018 年 12 月发布,而 IDE 版本是从 2016 年 10 月开始的。
这并不意味着您绝对需要将 PHP 降级到 7.0。这只是意味着,如果您的代码使用引入新语法的功能,则 NetBeans 将报告虚假的解析错误。其他一切都会正常工作。
您可能想尝试最新版本(撰写本文时为 NetBeans 11)。在 NetBeans 10 中引入了对 PHP 7.1、7.2 和 7.3 的支持(注释)。