#43164 [NoF->Csd]: Array property with recursion
| From: | felipe@php.net | Date: | Wed, 11 Feb 2009 21:39:41 +0000 |
| Subject: | #43164 [NoF->Csd]: Array property with recursion | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-133747@lists.php.net to get a copy of this message | ||
ID: 43164
Updated by: felipe@php.net
Reported By: felipensp at gmail dot com
-Status: No Feedback
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 5.3CVS-2007-10-31 (snap)
Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2008-02-23 01:00:00] 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".
------------------------------------------------------------------------
[2008-02-15 10:52:35] felipe@php.net
Actual result (5_3):
object(foo)#1 (1) {
["a"]=>
&array(1) {
[0]=>
&array(1) {
[0]=>
*RECURSION*
}
}
}
object(foo)#1 (1) {
["a"]=>
array(1) {
[0]=>
array(0) {
}
}
}
array(1) {
[0]=>
array(0) {
}
}
array(1) {
[0]=>
&array(1) {
[0]=>
&array(1) {
[0]=>
*RECURSION*
}
}
}
It looks fixed! :)
------------------------------------------------------------------------
[2008-02-15 07:00:13] dmitry@php.net
I don't see where the problem is. It looks like both PHP_5_2 and
PHP_5_3 work proper (except of memory leaks in PHP_5_2). Expectations
for the second and third cases in original post are wrong.
------------------------------------------------------------------------
[2008-02-15 00:07:12] jani@php.net
Oh..I forgot the original problem, that still exists, just the leaks
are gone now in PHP_5_3.
------------------------------------------------------------------------
[2008-02-15 00:05:50] jani@php.net
This seems to be fixed for PHP 5.3, but it still happens with PHP 5.2
(latest CVS), can you check whether it's fixable? Maybe some patch
wasn't MFH'd?
------------------------------------------------------------------------
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/43164
--
Edit this bug report at http://bugs.php.net/?id=43164&edit=1