Doc #76195 [NEW]: 垃圾回收章节

From: Date: Sun, 08 Apr 2018 09:34:06 +0000
Subject: Doc #76195 [NEW]: 垃圾回收章节
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15590@lists.php.net to get a copy of this message
From:             yuanzhenchao at aliyun dot com
Operating system: centos
PHP version:      7.1Git-2018-04-08 (Git)
Package:          phpdbg
Bug Type:         Documentation Problem
Bug description:垃圾回收章节

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 bug report at https://bugs.php.net/bug.php?id=76195&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=76195&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=76195&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=76195&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=76195&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=76195&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=76195&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=76195&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=76195&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=76195&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=76195&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=76195&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=76195&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=76195&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76195&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=76195&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=76195&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=76195&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76195&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=76195&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=76195&r=mysqlcfg



Thread (3 messages)

« previous php.doc.bugs (#15590) next »