ext/standard/tests/http/bug60570.phpt failure

From: Date: Tue, 19 Aug 2014 14:10:02 +0000
Subject: ext/standard/tests/http/bug60570.phpt failure
Groups: php.internals 
Request: Send a blank email to internals+get-76706@lists.php.net to get a copy of this message
Hi, Yesterday we discussed with Nikta the failure of ext/standard/tests/http/bug60570.phpt. It was in context of AST patch, but the failure is not related to AST at all. It's just a bad test that makes wrong assumption. Resource leaks can't be caught using get_memory_usage(). To have a robust way to detect resource leaks I propose a new function - get_resources() that returns an array of all registered resources or an array of registered resources of particular type. See patch: https://gist.github.com/dstogov/f96c04f5979e726909ab I'm not sure if such small change needs RFC. Thoughts? Thanks. Dmitry.

« previous php.internals (#76706) next »