mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
1178d97c08
commit
35526d5c13
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue