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 271920

Summary: False errors reported with PHP7.2 syntax
Product: ide Reporter: _jared_
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 8.2   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description _jared_ 2017-12-14 21:10:01 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Reproducibility: Happens every time

STEPS:
Create code with syntax specific to PHP7.2, e.g.

function foo(): ?int {return null;}

ACTUAL:
  Syntax is highlighted as an error

EXPECTED:
  No highlingting as syntax is correct
Comment 1 _jared_ 2017-12-14 21:12:42 UTC
Created attachment 165569 [details]
IDE log