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 268100 - Self executing anonymous functions marked as errors
Summary: Self executing anonymous functions marked as errors
Status: RESOLVED DUPLICATE of bug 259111
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-19 12:11 UTC by femy_rox
Modified: 2016-09-19 12:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description femy_rox 2016-09-19 12:11:38 UTC
Self executing anonymous functions are marked as errors or warnings:
(function($parameter) {})($argument, $argument);

Despite that PHP 7 supports them.
Comment 1 Tomas Mysik 2016-09-19 12:24:55 UTC
IMHO already reported as issue #259111.

Thanks.

*** This bug has been marked as a duplicate of bug 259111 ***