This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
f.e. $sig_figs = 5; echo (round((19.6*100), $sig_figs) !== round((double)1960, $sig_figs)) ? 'not equal' : 'equal'; this example works. Some variants: (double)1960 is highlight as error - ") expected" f.e. $s = (double)$sig_figs; ") expected" $s = (real)$sig_figs; - has not errors.
expression is correct. Should not mark it as mistaken
The problem in absence of "double" as type case operation in .nbs file. It can be easily fixed by adding it to "php_type_cast" tokens.
This issue is closely related to 125914.
verified Build 200802080008