ID: 31942 Comment by: php-bugs dot trippyd at spamgourmet dot com Reported By: adrian-phpbugs at sixfingeredman dot net Status: No Feedback Bug Type: Arrays related Operating System: Linux PHP Version: 4.3.11-dev New Comment:
following up on this bug, we have test code similar to what was shown, the problem still exists in both 4.4.7 and 4.4.8. Previous Comments: ------------------------------------------------------------------------ [2006-04-02 23:37:47] kevin at planetsaphire dot com My project was missing the following code after calling a recursive function. As a result, my project does not re-produce the bug described in this report: /* Let's sort through the subcategory's arrays. */ $retval = $this->getProperItem($priv_item, $relationNum); if ( $retval != NULL ) { return $retval; } ------------------------------------------------------------------------ [2006-04-01 13:03:53] kevin at planetsaphire dot com My intranet project appears to be having problems due to this bug. I am running PHP Version 5.1.2. I noticed that this bug was originally filed against PHP 4.3.11, and can file a seperate report if I need to. The phpinfo file on my server: http://www.planetsaphire.com/phpinfo.php On wwwbiz, if I have an inventory category three leaves or more deep, it will not be matched to a higher leaf, which causes the script to call my error_dbdown() function. This is being caused by the foreach() syntax, and it happens regardless if I use the reference operator or not. Sources can be viewed from: http://www.planetsaphire.com/viewcvs.cgi cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/www co -P wwwbiz File possibly affected by this bug is: db/mysql-inv.php ------------------------------------------------------------------------ [2005-09-10 01:00:05] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2005-09-02 07:46:02] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-02-12 00:22:04] adrian-phpbugs at sixfingeredman dot net The version says: (built: Jan 5 2005 08:54:18) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31942 -- Edit this bug report at http://bugs.php.net/?id=31942&edit=1