Bug #3074 Updated: allow: foreach ($array as $key => &$val) in zend (byref)

From: Date: Sun, 24 Feb 2002 12:26:45 +0000
Subject: Bug #3074 Updated: allow: foreach ($array as $key => &$val) in zend (byref)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-943@lists.php.net to get a copy of this message
ID: 3074 Updated by: sander@php.net Reported By: thies@digicol.de -Status: Analyzed +Status: Duplicate Bug Type: Feature/Change Request Operating System: all -PHP Version: 4.0 Latest CVS (31/12/1999) +PHP Version: 4.0 Latest CVS ( New Comment: Dupe of 15663... Previous Comments: ------------------------------------------------------------------------ [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@digicol.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 (#943) next »