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.
Error recovery in the AST parser needs to be improved so that in typical situations it is possible to get the AST type for the element currently being edited. For example currently the AST parser currently does not even recognize the class definition element in the following code: <?php class class_name { function f| } ?> This should be probably done using the *sanitation* mechanism. Please look into the list of dependent issues for a list of specific use cases.
Fixed in the trunk changeset: 87761:2d56e3e42909
Integrated into 'main-golden', available in NB_Trunk_Production #308 build Changeset: http://hg.netbeans.org/main/rev/2d56e3e42909 User: Petr Pisl <ppisl@netbeans.org> Log: Introducing code sanitization for PHP parser. It fix two issues: #132335, #138311