Doc #53561 [Opn]: Difference between forward_static_call and call_user_func?

From: Date: Fri, 17 Dec 2010 10:05:51 +0000
Subject: Doc #53561 [Opn]: Difference between forward_static_call and call_user_func?
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5690@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: cataphract@php.net Reported by: martin dot leucht at gmail dot com Summary: Difference between forward_static_call and call_user_func? Status: Open Type: Documentation Problem Package: Documentation problem Operating System: All PHP Version: 5.3.4 Block user comment: N Private report: N New Comment: Yes, there is. See http://php.net/lsb I agree this needs more details in the doc page for forward_static_call(_array), though. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#5690) next »