Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1173 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12869 invoked from network); 2 May 2003 17:06:17 -0000 Received: from unknown (HELO secure.thebrainroom.com) (213.239.42.171) by pb1.pair.com with SMTP; 2 May 2003 17:06:17 -0000 Received: from zaneeb.brainnet.i (brain.dial.nildram.co.uk [195.149.29.154]) by secure.thebrainroom.com (8.9.3/8.9.3) with ESMTP id SAA04665; Fri, 2 May 2003 18:06:13 +0100 Received: from zaneeb.brainnet.i (IDENT:W36NI/UpOIuZWncCuT33nR+ibNUgX9po@zaneeb.brainnet.i [127.0.0.1]) by zaneeb.brainnet.i (8.11.6/8.11.6) with ESMTP id h42H6E824676; Fri, 2 May 2003 18:06:14 +0100 Date: Fri, 2 May 2003 18:06:14 +0100 (BST) X-X-Sender: wez@zaneeb.brainnet.i To: Michael Sisolak cc: internals@lists.php.net, sas@php.net In-Reply-To: <20030502170441.57583.qmail@web13405.mail.yahoo.com> Message-ID: References: <20030502170441.57583.qmail@web13405.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] 4.3.2RC2: mul_function() Change Kills -1 As Parameter Default? From: wez@thebrainroom.com (Wez Furlong) Should be fixed already in CVS. --Wez. On Fri, 2 May 2003, Michael Sisolak wrote: > For me with 4.3.2RC2 (Win32 build) this code no longer works as it > should: > > function test($param = -1) > { > echo $param; > } > test(); > > Instead of printing -1, is prints 0 instead. I tracked this for a > while through the code, and believe the problem is with the changes > just introduced to mul_function() in zend_operators.c. I can't follow > it well enough to explain why, but if I revert to the php_4_3_2RC1 > version of mul_function() my test code works again. > > Michael Sisolak > msisolak@gvpi.com > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > >