Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321951

Summary: code folding does not works when closures are used
Product: z_Archived Reporter: Giorgio Liscio <giorgio.liscio>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED WORKSFORME QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P3 CC: kalin.a
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

Description Giorgio Liscio CLA 2010-08-06 04:01:52 EDT
Build Identifier: Build id: 20100617-1415

hi, test the code to reproduce

Reproducible: Always

Steps to Reproduce:
try to fold this function:

	function test()// <-- this function
	{
		$closure = function()
		{
			echo "test";
		};
		echo "this is not folded";
                echo "at all";
	}
Comment 1 Zhongwei Zhao CLA 2011-05-16 01:27:05 EDT
works for me
Comment 2 Kalin CLA 2011-08-02 10:39:44 EDT
Verified.
Closing...