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 251489

Summary: use php5.6 in nb.new feature 'const array',tips me syntax error;
Product: php Reporter: hinson0
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE 日志

Description hinson0 2015-03-30 01:27:40 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01


codes as follow:

class Foo {
    const A = [2, 3];
}
echo Foo::A[1];

nb tips me syntax error;
Comment 1 hinson0 2015-03-30 01:27:45 UTC
Created attachment 152913 [details]
IDE 日志
Comment 3 junichi11 2015-10-21 04:52:36 UTC

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