noelma opened a new issue, #5033: URL: https://github.com/apache/netbeans/issues/5033
### Apache NetBeans version Apache NetBeans 15 ### What happened I got an error copying this code into Netbeans:    Opening it in Visual Studio Code, the code contains **No-Break Spaces**.  Messages and highlighting invisible characters in Netbeans does not help to understand this error ### How to reproduce Go to https://www.php.net/manual/en/language.generators.syntax.php, Go to section **Example #5 yield from with iterator_to_array()**, Copy the sample code to a php file in Netbeans. Or copy the code: ```php <?php function inner() { yield 1; // key 0 yield 2; // key 1 yield 3; // key 2 } function gen() { yield 0; // key 0 yield from inner(); // keys 0-2 yield 4; // key 1 } ``` ### Did this work correctly in an earlier version? Apache NetBeans 15 ### Operating System Linux version 5.15.0-53-generic running on amd64 ### JDK 18.0.2-ea; OpenJDK 64-Bit Server VM 18.0.2-ea+9-Ubuntu-222.04; Private Build ### Apache NetBeans packaging Apache NetBeans Snap Package ### 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
