php4fan commented on issue #6706:
URL: https://github.com/apache/netbeans/issues/6706#issuecomment-1816980801

   You're right, it does depend on the context.
   
   I have found a minimal reproducing example.
   Try this:
   
   ```
   <?php
   
   $yyy = 123;
   
   $xxx = "[$yyy lalala]"; 
   
   // Type below here
   ```
   
   And there you type `$array['key']`.
   
   The `$yyy = 123;` is not necessary, it's just to make sure that you 
reproduce the issue with 100% valid code.
   
   The line provoking the issue (i.e. `$xxx = .....`) doesn't have to be near 
to where you type, the mere presence of something like that in the whole file 
will cause the issue, as far as I can tell wherever you type.
   
   If you change this:
   ```
   $xxx = "[$yyy lalala]"; 
   ```
   to this:
   ```
   $xxx = "[$yyy]"; 
   ```
   then it will no longer reproduce.


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