Re: Problem with leak detection

From: Date: Thu, 23 Jun 2005 12:52:59 +0000
Subject: Re: Problem with leak detection
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-16880@lists.php.net to get a copy of this message
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

« previous php.internals (#16880) next »