This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270929

Summary: PHP 7.2 support
Product: php Reporter: junichi11
Component: EditorAssignee: junichi11
Status: RESOLVED FIXED    
Severity: normal CC: tmysik
Priority: P3 Keywords: PATCH_AVAILABLE
Version: Dev   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: proposed patch

Description junichi11 2017-06-22 07:03:19 UTC
Probably, Trailing Commas In List Syntax(Grouped namespaces only)[1] has to be implemented.

[1] https://wiki.php.net/rfc/list-syntax-trailing-commas
Comment 1 junichi11 2017-07-13 04:51:12 UTC
Created attachment 164751 [details]
proposed patch

Object type hint[1] is also supported.

list() reference assignment has not been implemented yet (in PHP7.2). However, currently, list variables are not restricted without reference. So probably, need no changes in NetBeans.

If there is something missing, please let me know.

I'll apply this patch after NetBeans 9.0 is released.

NOTE: spec. version must be updated again when the patch is applied.

Thanks for your understanding.

[1] https://wiki.php.net/rfc/object-typehint
[2] https://wiki.php.net/rfc/list_reference_assignment
Comment 2 Tomas Mysik 2017-07-13 05:33:09 UTC
Nice!
Comment 3 conceptme 2018-03-27 08:14:01 UTC
Is this still going to be merged? I just tried the beta of netbeans 9 and it did not have 7.2 support.