note 68416 added to function.call-user-func

From: Date: Wed, 26 Jul 2006 07:18:29 +0000
Subject: note 68416 added to function.call-user-func
Groups: php.notes 
Request: Send a blank email to php-notes+get-115201@lists.php.net to get a copy of this message
Re: bostjan dot skufca at domenca dot com 's comment "If you need to call object method from within the very same object (NOT CLASS!): call_user_func(array(&$this, 'methodFoo'));" This particular case will not work. The user functions can only be successfully called (as the documentation alludes to), with static calls to class functions. ---- Server IP: 61.129.33.155 Probable Submitter: 202.105.159.246 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.call-user-func.php Edit -- http://master.php.net/note/edit/68416 Del: integrated -- http://master.php.net/note/delete/68416/integrated Del: useless -- http://master.php.net/note/delete/68416/useless Del: bad code -- http://master.php.net/note/delete/68416/bad+code Del: spam -- http://master.php.net/note/delete/68416/spam Del: non-english -- http://master.php.net/note/delete/68416/non-english Del: in docs -- http://master.php.net/note/delete/68416/in+docs Del: other reasons-- http://master.php.net/note/delete/68416 Reject -- http://master.php.net/note/reject/68416 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#115201) next »