Doc #76195 [Com]: Garbage collection chapter
Edit report at https://bugs.php.net/bug.php?id=76195&edit=1
ID: 76195
Comment by: godsadeepkas at gmail dot com
Reported by: yuanzhenchao at aliyun dot com
Summary: Garbage collection chapter
Status: Verified
Type: Documentation Problem
Package: Documentation problem
Operating System: centos
PHP Version: 7.1Git-2018-04-08 (Git)
Block user comment: N
Private report: N
New Comment:
Up Story News are sharing latest news about business, finance, loan, tax, auto, home improvement,
travel, tech, health etc. More info to visit our website: (https://upstorynews.com)github.com
Previous Comments:
------------------------------------------------------------------------
[2018-04-08 15:26:37] cmb@php.net
Indeed, the chapter on Garbage Collection[1] is not yet up-to-date
for PHP 7.
[1] <http://php.net/manual/en/features.gc.php>
------------------------------------------------------------------------
[2018-04-08 09:34:04] yuanzhenchao at aliyun dot com
Description:
------------
æ°å»ºåéï¼ä½¿ç¨xdebug_debug_zval()ææåææ¡£ä¸ä¸ä¸æ ·ã
æå°ç»æ
a:
(refcount=0, is_ref=0)string 'new string' (length=10)
ææ¡£ä¸æè¿°ï¼
æ°çåéaï¼æ¯å¨å½åä½ç¨åä¸çæçãå¹¶ä¸çæäºç±»å为
string åå¼ä¸ºnew
stringçåé容å¨ãå¨é¢å¤ç两个åèä¿¡æ¯ä¸ï¼"is_ref"被é»è®¤è®¾ç½®ä¸º
FALSEï¼å 为没æä»»ä½èªå®ä¹çå¼ç¨çæã"refcount"
被设å®ä¸º
1ï¼å 为è¿éåªæä¸ä¸ªåé使ç¨è¿ä¸ªåé容å¨.
注æå°å½"refcount"ç弿¯1æ¶ï¼"is_ref"ç弿»æ¯FALSE.
å¦æä½ å·²ç»å®è£
ããã
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76195&edit=1
Thread (3 messages)