note 54096 added to function.call-user-func

From: Date: Thu, 23 Jun 2005 14:34:29 +0000
Subject: note 54096 added to function.call-user-func
Groups: php.notes 
Request: Send a blank email to php-notes+get-90843@lists.php.net to get a copy of this message
------------------------------------------- Hey I'm struggling to think of a practical use for this function that can't be duplicated with variable functions. The only use I can think of is when calling variable functions when your variable need modification: -------------------------------------------- I tried to call nl2br() with variable functions. Didn't work. But call_user_func worked. Dunno why, just for info. ---- Manual Page -- http://www.php.net/manual/en/function.call-user-func.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54096 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54096&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54096&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54096&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54096&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54096&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54096&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54096&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#90843) next »