Bug #71067 [Asn->Csd]: Local object in class method stays in memory for each call
Edit report at https://bugs.php.net/bug.php?id=71067&edit=1
ID: 71067
Updated by: laruence@php.net
Reported by: gal at webrats dot co dot il
Summary: Local object in class method stays in memory for
each call
-Status: Assigned
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: Centos 6.7
PHP Version: 7.0.0
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4c379392b2873cf2d5407cade3f747401f7df96c
Log: Fixed bug #71067 (Local object in class method stays in memory for each call)
Previous Comments:
------------------------------------------------------------------------
[2015-12-09 12:47:34] laruence@php.net
I can reproduce it now. thanks
------------------------------------------------------------------------
[2015-12-09 08:47:31] gal at webrats dot co dot il
Same result:
[root@server web]# php -n test.php
stdClass Object
(
[children] => Array
(
[0] => 1
[1] => 1
)
)
------------------------------------------------------------------------
[2015-12-09 08:41:59] laruence@php.net
how about run php7 -n test.php
------------------------------------------------------------------------
[2015-12-09 06:13:05] gal at webrats dot co dot il
Saved test script to test.php.
Run using php -f test.php
$ root@server web]# php -v
PHP 7.0.0 (cli) (built: Dec 2 2015 21:42:51) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
$ [root@server web]# php -f test.php
stdClass Object
(
[children] => Array
(
[0] => 1
[1] => 1
)
)
------------------------------------------------------------------------
[2015-12-09 01:49:57] laruence@php.net
I can not reproduce this. are you meaning run your example codes from:
php7 example.php?
thanks
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=71067
--
Edit this bug report at https://bugs.php.net/bug.php?id=71067&edit=1
Thread (7 messages)