#3074 [Dup->Bgs]: allow: foreach ($array as $key => &$val) in zend (byref)

From: Date: Tue, 18 Feb 2003 17:48:18 +0000
Subject: #3074 [Dup->Bgs]: allow: foreach ($array as $key => &$val) in zend (byref)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33439@lists.php.net to get a copy of this message
ID: 3074 Updated by: sniper@php.net Reported By: thies at digicol dot de -Status: Duplicate +Status: Bogus Bug Type: Feature/Change Request Operating System: all PHP Version: 4.0 Latest CVS ( New Comment: Place any comments to bug #15663 Previous Comments: ------------------------------------------------------------------------ [2002-02-24 07:26:45] sander@php.net Dupe of 15663... ------------------------------------------------------------------------ [2001-05-19 17:40:56] jeroen@php.net From line 117 of zend_operators.c it says: If the string is nor an exact double, nor an exact long, do strtol on it. There you should first try strtod, see if it parses more chars that strtol... And I don't know anything about C! ------------------------------------------------------------------------ [2001-05-19 17:25:32] jeroen@php.net Just a reminder... seems to be forgotten again :) Come on... this can't be that hard? Or is it? ------------------------------------------------------------------------ [2000-07-31 22:23:32] waldschrott@php.net I think it happend. You did forget! ;) Results in a parse error. ------------------------------------------------------------------------ [1999-12-31 08:36:27] thies at digicol dot de as discussed on the ML - just that so that we don't forget. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3074&edit=1

« previous php.bugs (#33439) next »