qmegas opened a new issue, #4209: URL: https://github.com/apache/netbeans/issues/4209
### Apache NetBeans version Apache NetBeans 13 ### What happened When there is a ternary operator inside arrow function in PHP then variable highlighting works incorrectly. Example code: ```php $a = 5; $b = fn() => $a > 5 ? $a + 1 : 10; ``` When put cursor on variable `$a` on first line, then first `$a` variable inside arrow function is also highlighted (which is correct), but second variable doesn't (which is incorrect). Same bug happens when put cursor on variables inside arrow function. ### How to reproduce _No response_ ### Did this work correctly in an earlier version? No ### Operating System Windows 10 ### JDK 16.0.1 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? No ### Code of Conduct Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
