svn: /phpdoc/en/trunk/internals2/variables/ index.xml
| From: | Joe Watkins | Date: | Thu, 11 Apr 2013 08:54:53 +0000 |
| Subject: | svn: /phpdoc/en/trunk/internals2/variables/ index.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11195@lists.php.net to get a copy of this message | ||
krakjoe Thu, 11 Apr 2013 08:54:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=330071
Log:
correction
Changed paths:
U phpdoc/en/trunk/internals2/variables/index.xml
Modified: phpdoc/en/trunk/internals2/variables/index.xml
===================================================================
--- phpdoc/en/trunk/internals2/variables/index.xml 2013-04-11 06:48:00 UTC (rev 330070)
+++ phpdoc/en/trunk/internals2/variables/index.xml 2013-04-11 08:54:53 UTC (rev 330071)
@@ -330,7 +330,7 @@
<row>
<entry><code>void zval_ptr_dtor(zval* pzval)</code></entry>
- <entry>calls zval destructor routine on <code>pzval</code>, for basic
types, this reduces the refcount by one, for arrays this destroys the array, for objects it reduces
the refcount</entry>
+ <entry>decrements the refcount for the variable, if no refcounts remain the variable is
destroyed</entry>
</row>
<row>
@@ -342,6 +342,10 @@
</tgroup>
</table>
+ <note>
+ <para>Objects and Resources have a secondary reference counting ability, when
zval_ptr_dtor is called on either, their appropriate del_ref method is executed. See Working with
Objects and Working with Resources for more information.</para>
+ </note>
+
<para>PHP is weakly typed, as such the engine provides API functions for converting
variables from one type to another.</para>
<table xml:id="internals2.variables.conversion.api">