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

From: Date: Sat, 05 Dec 2009 19:16:38 +0000
Subject: svn: /phpdoc/en/trunk/internals2/funcs/ index.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5615@lists.php.net to get a copy of this message
johannes Sat, 05 Dec 2009 19:16:38 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=291749 Log: some minor fixes # I'm not sure it's clear that "returning references" means something like # function &foo() {} in userland, but the wording is better than before which # was confusing with function foo(&$bar) { $bar = 42; } Changed paths: U phpdoc/en/trunk/internals2/funcs/index.xml Modified: phpdoc/en/trunk/internals2/funcs/index.xml =================================================================== --- phpdoc/en/trunk/internals2/funcs/index.xml 2009-12-05 19:04:04 UTC (rev 291748) +++ phpdoc/en/trunk/internals2/funcs/index.xml 2009-12-05 19:16:38 UTC (rev 291749) @@ -137,8 +137,8 @@ <row> <entry><code>zval **return_value_ptr</code></entry> - <entry>When returning data by reference to PHP set this to a pointer to - your variable. It is not suggested to returning by reference.</entry> + <entry>When returning references to PHP set this to a pointer to + your variable. It is not suggested to return references.</entry> <entry/> </row> @@ -223,7 +223,7 @@ RETURN_TRUE; } /* }}} */ -]]]> +]]> </programlisting> </example> @@ -270,7 +270,7 @@ <note> <simpara> Please mind that <code>FAILURE</code> is represented by a <code>-1</code> - and <code>SUCCESS</code> by <code>0</code>. To make the could clear you + and <code>SUCCESS</code> by <code>0</code>. To make the code clear you should always use the named constants for comparing the value. </simpara> </note>

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