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 246606

Summary: Using "parent" as function name destroys formatting
Product: php Reporter: Choppel
Component: Formatting & IndentationAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Choppel 2014-08-21 10:54:42 UTC
"parent" is not a reserved keyword in php.
http://php.net/manual/en/reserved.keywords.php

But if you use parent as a function name in a class, it is highlighted as a reserved keyword and the source code is oddly formatted.