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 - Using "parent" as function name destroys formatting
Summary: Using "parent" as function name destroys formatting
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-21 10:54 UTC by Choppel
Modified: 2014-08-21 10:57 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 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.