Doc #53561 [Opn->Csd]: Difference between forward_static_call and call_user_func?
| From: | vrana@php.net | Date: | Thu, 10 Feb 2011 13:52:31 +0000 |
| Subject: | Doc #53561 [Opn->Csd]: Difference between forward_static_call and call_user_func? | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5955@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53561&edit=1
ID: 53561
Updated by: vrana@php.net
Reported by: martin dot leucht at gmail dot com
Summary: Difference between forward_static_call and
call_user_func?
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: All
PHP Version: 5.3.4
-Assigned To:
+Assigned To: vrana
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2011-02-10 14:52:23] vrana@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=308192
Log: forward_static_call uses LSB (doc bug #53561)
------------------------------------------------------------------------
[2010-12-17 11:05:51] cataphract@php.net
Yes, there is. See http://php.net/lsb
I agree this needs more details in the doc page for
forward_static_call(_array), though.
------------------------------------------------------------------------
[2010-12-17 10:16:10] martin dot leucht at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.forward-static-call-array
---
Sorry, but I didn't get the difference between the two functions
forward_static_call and call_user_func. Is there any specific behaviour
for forward_static_call/forward_static_call_array that is not mentioned?
Or does "This function must be called within a method context, it can't
be used outside a class." describe the one and only difference? Also,
what happens when its called outside of a class?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53561&edit=1