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

Summary: Fatal Error: Nested classes
Product: php Reporter: Ondrej Brejla <obrejla>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal CC: amobilia
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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