You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/09/25 14:55:14 UTC
[GitHub] [netbeans] terax6669 opened a new issue, #4684: NetBeans PHP parser syntax error - accessing a const array value
terax6669 opened a new issue, #4684:
URL: https://github.com/apache/netbeans/issues/4684
### Apache NetBeans version
Apache NetBeans 15
### What happened
![image](https://user-images.githubusercontent.com/19204073/192149986-01daa5c7-37f9-48c0-a36d-536827081c49.png)
### How to reproduce
```php
<?php
class Foo
{
public $bar = 'Bar';
}
class Bar {
const FOOBAR = ['Bar' => 'tada!'];
}
$foo = new Foo;
var_dump($foo->bar::FOOBAR[$foo->bar]);
```
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows 11 Pro 22000.978
### JDK
OpenJDK 19.0.0 (from Chocolatey)
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
AFAIK this syntax never worked in NetBeans.
### 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: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] junichi11 commented on issue #4684: [PHP] Parser syntax error - accessing a const array value
Posted by GitBox <gi...@apache.org>.
junichi11 commented on issue #4684:
URL: https://github.com/apache/netbeans/issues/4684#issuecomment-1264971185
Reproducible. Thanks!
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] tmysik closed issue #4684: [PHP] Parser syntax error - accessing a const array value
Posted by GitBox <gi...@apache.org>.
tmysik closed issue #4684: [PHP] Parser syntax error - accessing a const array value
URL: https://github.com/apache/netbeans/issues/4684
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists