Re: every return from a function now leaks (if the function is used as void)

From: Date: Fri, 19 Nov 1999 17:05:56 +0000
Subject: Re: every return from a function now leaks (if the function is used as void)
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6508@lists.php.net to get a copy of this message
Update libzend and try again. By the way, this whole issue of marking function calls whose return values aren't being used made me implement a solution which should speed up functions calls whose return values aren't being used. I hope it works. Let me know. Andi At 04:23 PM 11/19/99 +0100, Thies C. Arntzen wrote:
<?php function leak_return() { return "hallo"; } leak_return(); ?> /dot/dc4/zend/php-dev/php4_cgi_debug/../php4/libzend/zend_execute.c(1537) : Freeing 0x001B4DF8 (6 bytes), script=test.php /dot/dc4/zend/php-dev/php4_cgi_debug/../php4/libzend/zend_variables.c(128) : Actual location (location was relayed) regards, tc
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.version4 (#6508) next »