[ 
https://issues.apache.org/jira/browse/NETBEANS-4974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269355#comment-17269355
 ] 

Junichi Yamamoto commented on NETBEANS-4974:
--------------------------------------------

 !nb-php80-named-argument-01.png!  !nb-php80-named-argument-02.png! 

I've just fixed the parser.

[~cyrilverloop]
Unfortunately, I'm not sure whether we can include this in the next release 
(12.3) because the feature freeze date comes soon. Maybe it's tomorrow or later.
However, you can use this feature in a dev version if the PR is merged.
Thanks.

> PHP8 named arguments
> --------------------
>
>                 Key: NETBEANS-4974
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4974
>             Project: NetBeans
>          Issue Type: Improvement
>    Affects Versions: 11.3
>            Reporter: Jayce
>            Assignee: Junichi Yamamoto
>            Priority: Major
>         Attachments: PHP8NamedArgument.jpg, nb-php80-named-argument-01.png, 
> nb-php80-named-argument-02.png
>
>
> Tested in latest build (netbeans-linux-143-on-20201030-release.zip    30 oct. 
> 2020 05:40:08)
> Project opened in Netbeans is set to PHP8.
> Netbeans shows a syntax error on PHP8 named arguments.
> These lines are valid in PHP8:
> array_fill(start_index: 0, num: 100, value: 50); // From RFC
> setcookie(name: 'test', expires: time() + 60 * 60 * 2,); // other example



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to