svn: /phpdoc/en/trunk/internals2/variables/ index.xml

From: Date: Wed, 10 Apr 2013 20:38:06 +0000
Subject: svn: /phpdoc/en/trunk/internals2/variables/ index.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-11188@lists.php.net to get a copy of this message
krakjoe Wed, 10 Apr 2013 20:38:06 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=330062 Log: updates 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-10 19:17:13 UTC (rev 330061) +++ phpdoc/en/trunk/internals2/variables/index.xml 2013-04-10 20:38:06 UTC (rev 330062) @@ -185,23 +185,23 @@ <tbody> <row> - <entry><code>zend_ulong Z_REFCOUNT(zval zv)</code></entry> + <entry><code>zend_uint Z_REFCOUNT(zval zv)</code></entry> <entry>returns the reference count of the <code>value</code></entry> </row> <row> - <entry><code>void Z_SET_REFCOUNT(zval zv)</code></entry> - <entry>sets the reference count of the <code>value</code></entry> + <entry><code>zend_uint Z_SET_REFCOUNT(zval zv)</code></entry> + <entry>sets the reference count of the <code>value</code>, returning it</entry> </row> <row> - <entry><code>void Z_ADDREF(zval zv)</code></entry> - <entry>increments the reference count of <code>value</code></entry> + <entry><code>zend_uint Z_ADDREF(zval zv)</code></entry> + <entry>pre-increments the reference count of <code>value</code>, returning it</entry> </row> <row> - <entry><code>void Z_DELREF(zval zv)</code></entry> - <entry>decrements the reference count of <code>value</code></entry> + <entry><code>zend_uint Z_DELREF(zval zv)</code></entry> + <entry>pre-decrements the reference count of <code>value</code>, returning it</entry> </row> <row> @@ -243,6 +243,11 @@ </thead> <tbody> + + <row> + <entry><code>ALLOC_ZVAL(zval* pzval)</code></entry> + <entry>emallocs <code>pzval</code></entry> + </row> <row> <entry><code>ALLOC_INIT_ZVAL(zval* pzval)</code></entry> @@ -289,6 +294,16 @@ <entry>performs INIT_PZVAL_COPY, then zval_copy_ctor on the new zval</entry> </row> + <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</entry> + </row> + + <row> + <entry><code>FREE_ZVAL(zval* pzval)</code></entry> + <entry>efrees <code>pzval</code></entry> + </row> + </tbody> </tgroup> </table>

« previous php.doc.cvs (#11188) next »