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; }


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291749 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Johannes Schlüter 2009-12-05 19:16:38 +00:00
parent 1178d97c08
commit 35526d5c13

View file

@ -137,8 +137,8 @@ void zif_hello_world(int ht, zval *return_value, zval **return_value_ptr,
<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 @@ PHP_FUNCTION(hello_world)
RETURN_TRUE;
}
/* }}} */
]]]>
]]>
</programlisting>
</example>
@ -270,7 +270,7 @@ PHP_FUNCTION(hello_world)
<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>