From 35526d5c1377d5f9108a30a619fc62e016a64e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Schl=C3=BCter?= Date: Sat, 5 Dec 2009 19:16:38 +0000 Subject: [PATCH] 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 --- internals2/funcs/index.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internals2/funcs/index.xml b/internals2/funcs/index.xml index afaba2fa8b..a6d38de799 100644 --- a/internals2/funcs/index.xml +++ b/internals2/funcs/index.xml @@ -137,8 +137,8 @@ void zif_hello_world(int ht, zval *return_value, zval **return_value_ptr, zval **return_value_ptr - When returning data by reference to PHP set this to a pointer to - your variable. It is not suggested to returning by reference. + When returning references to PHP set this to a pointer to + your variable. It is not suggested to return references. @@ -223,7 +223,7 @@ PHP_FUNCTION(hello_world) RETURN_TRUE; } /* }}} */ -]]]> +]]> @@ -270,7 +270,7 @@ PHP_FUNCTION(hello_world) Please mind that FAILURE is represented by a -1 - and SUCCESS by 0. To make the could clear you + and SUCCESS by 0. To make the code clear you should always use the named constants for comparing the value.