junichi11 opened a new pull request, #5792:
URL: https://github.com/apache/netbeans/pull/5792

   - https://github.com/apache/netbeans/issues/5585
   - Fix the lexers
   - Keep the current heredoc information on the stack when the heredoc is 
nested
   
   Example:
   ```php
   <?php
   
   class T {
   
       public function test(): string {
           return "test method";
       }
   
       public function test2($param): string {
           return $param . PHP_EOL;
       }
   }
   
   $t = new T();
   echo <<< HTML
       <span>{$t->test()}</span>
       {$t->test2(<<< X
           something
           something
       X)}
       HTML;
   ```
   
![nb-php-gh-5585-syntax](https://user-images.githubusercontent.com/738383/230530679-734a0aed-47c7-4337-a20c-7f71b9b83d42.png)
   
   


-- 
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

Reply via email to