且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Netbeans的PHP文件中禁止警告?

更新时间:2022-06-23 22:50:31

虽然不能只禁用一个警告(请查找错误报告,例如

While you can't just disable one warning (look for bug reports like http://netbeans.org/bugzilla/show_bug.cgi?id=97224), there is a common solution for this problem(if you have "Ignore assigments in sub-statements" turned ON):

if(($x=$y)) {}

TLDR:双括号=忽略这种类型的警告.

TLDR: Double brackets = Ignore this type of warning.