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 213070 - Fatal Error: Nested classes
Summary: Fatal Error: Nested classes
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 08:02 UTC by Ondrej Brejla
Modified: 2016-09-22 16:44 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Brejla 2012-05-28 08:02:43 UTC
Nested classes should be marked as an Error, it causes Fatal Error in runtime.

<?php

class TopClass {

    function topMethod($param) {
	class InnerClass {

	    function functionName($param) {
		
	    }

	}
    }

}
?>
Comment 1 amobilia 2016-09-22 16:44:13 UTC
Reproductible in 8.2rc / Dev 201609210002