Doc->Bug #69478 [Opn]: PHP.net Website User Contribution Problem

[email protected]
Newsgroups php.webmaster
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=69478&edit=1

 ID:                 69478
 Updated by:         [email protected]
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.