Doc->Bug #69478 [Opn]: PHP.net Website User Contribution Problem
| From: | cmb@php.net | Date: | Sat, 18 Apr 2015 00:58:29 +0000 |
| Subject: | Doc->Bug #69478 [Opn]: PHP.net Website User Contribution Problem | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-21076@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69478&edit=1
ID: 69478
Updated by: cmb@php.net
Reported by: Karim dot Khaled dot Wahby at outlook dot com
Summary: PHP.net Website User Contribution Problem
Status: Open
-Type: Documentation Problem
+Type: Bug
-Package: Documentation problem
+Package: Website problem
PHP Version: 5.4.40
Block user comment: N
Private report: N
New Comment:
Thanks for your contribution and the reporting the desired
correction, Karim. I would suggest to move the corrected
contribution to either the "Anonymous functions"[1] or the
"Returning values"[2] man page, as it doesn't seem to be related to
references at all.
Changing to "PHP.net Website problem" to better reach the admins.
[1] <http://php.net/manual/en/functions.anonymous.php>
[2] <http://php.net/manual/en/functions.returning-values.php>
Previous Comments:
------------------------------------------------------------------------
[2015-04-17 22:38:25] Karim dot Khaled dot Wahby at outlook dot com
Description:
------------
It's about this User Contribution
I'm the owner of this contribution and the problem with it is :
1- this line of code is not accurate :
echo gettype($func) . '<br />'; // Object
I should have used is_callable instead
2- In The comment
// use is to inheret the variable $num1 from the calling function
the word 'calling function' should be replace with 'parent function'
also the word inherit is misspelled
finally this is the Contribution link :
http://php.net/manual/en/language.references.return.php#117124
I'm sorry for that but I edited the post locally in my PC and then submitted the old version :(
and I couldn't Edit My Contribution
thanks for your concern and effort to read this
Regards,
Karim Wahby
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69478&edit=1