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 - PHP 7.2 support
Summary: PHP 7.2 support
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal with 7 votes (vote)
Assignee: junichi11
URL:
Keywords: PATCH_AVAILABLE
Depends on:
Blocks:
 
Reported: 2017-06-22 07:03 UTC by junichi11
Modified: 2018-06-29 19:52 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
proposed patch (323.68 KB, patch)
2017-07-13 04:51 UTC, junichi11
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.