Could you please confirm whether the PHP analyzer in SonarQube Developer Edition v2026.4.1 fully supports PHP 8.5 syntax, particularly the new clone() function?
According to the following SonarSource Community announcement, PHP 8.5 support was introduced with SonarQube Community Build 25.11:
Does this support also apply to SonarQube Developer Edition v2026.4.1, or could this be a known issue with the PHP analyzer?
Thanks for the report. We reproduced this: it’s a limitation in the PHP analyzer, not a false positive. It doesn’t yet parse the PHP 8.5 form of clone that takes extra arguments, such as clone($obj, […]), so the file fails with a parsing error. We’ve created a ticket and have a fix in progress.