Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c

From: Date: Mon, 19 Jul 2004 14:28:28 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c
References: 1 2 3 4 5 6  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2769@lists.php.net to get a copy of this message
Well, it seems like a waste. Checking for 0 args is much more friendly than invoking the allocator and asserting whatever mutex is required to get a memory block that consists solely of the block header and no useful content. If you think its acceptable, then please update the memory manager not to emit warnings about it :) --Wez. On Mon, 19 Jul 2004 07:17:44 -0700, Andi Gutmans <andi@zend.com> wrote: > Is this actually a problem? I thought malloc(0) works? > > Andi

« previous php.zend-engine.cvs (#2769) next »