On Thu, 23 Jun 2005, Zeev Suraski wrote:

> At 03:17 23/06/2005, Marcus Boerger wrote:
> >Hello Zeev,
> >
> > thanks for clarifying. Any chance we could change that for
> >"normal/unproblemeatic" exit()s in the future with run-tests
> >in mind?
> 
> The trick would be how we can detect a non problematic exit().  For example,
> 
> function foo() { exit(); }
> 
> function bar($arg1, $arg2) { }
> 
> bar("foo" . "bar", foo());
> 
> (or something similar, I didn't actually test it) would result in a leak, even
> though it's perfectly normal/unproblematic...

And this is why I had to overload the EXIT opcode for Xdebug's code 
coverate and profiling to work ;-)

Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to