svn: /phpdoc/en/trunk/features/ gc.xml
| From: | Gustavo André dos Santos Lopes | Date: | Mon, 06 Sep 2010 04:44:15 +0000 |
| Subject: | svn: /phpdoc/en/trunk/features/ gc.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7063@lists.php.net to get a copy of this message | ||
cataphract Mon, 06 Sep 2010 04:44:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303065
Log:
- Clarifying apparently contradictory phrase, as per bug #52695
Bug: http://bugs.php.net/52695 (Open) Contradictory sentence
Changed paths:
UU phpdoc/en/trunk/features/gc.xml
Modified: phpdoc/en/trunk/features/gc.xml
===================================================================
--- phpdoc/en/trunk/features/gc.xml 2010-09-06 04:05:02 UTC (rev 303064)
+++ phpdoc/en/trunk/features/gc.xml 2010-09-06 04:44:15 UTC (rev 303065)
@@ -206,14 +206,16 @@
</para>
<para>
From the above Xdebug output, we see that both the old and new array
- element now point to a zval container whose "refcount" is
- <literal>2</literal>. Of course,
- there are now two zval containers, but they are the same one. The
+ elements now point to a zval container whose "refcount" is
+ <literal>2</literal>. Although Xdebug's output shows two zval containers
+ with value <literal>'life'</literal>, they are the same one. The
<function>xdebug_debug_zval</function> function does not show this, but
- you could see this by also displaying the memory pointer. Removing an
- element from the array is like removing a symbol from a scope. By doing
- so, the "refcount" of a container that an array element points to is
- decreased. Again, when the "refcount" reaches zero, the variable
+ you could see it by also displaying the memory pointer.
+ </para>
+ <para>
+ Removing an element from the array is like removing a symbol from a scope.
+ By doing so, the "refcount" of a container that an array element points to
+ is decreased. Again, when the "refcount" reaches zero, the variable
container is removed from memory. Again, an example to show this:
</para>
<para>
Property changes on: phpdoc/en/trunk/features/gc.xml
___________________________________________________________________
Added: svn:eol-style
+ native