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 - False errors reported with PHP7.2 syntax
Summary: False errors reported with PHP7.2 syntax
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P2 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-14 21:10 UTC by _jared_
Modified: 2017-12-14 21:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (532.07 KB, text/plain)
2017-12-14 21:12 UTC, _jared_
Details

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