User Tools

Site Tools


uphp:functions:call_user_func

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
uphp:functions:call_user_func [2017/03/31 12:45]
jeff
uphp:functions:call_user_func [2017/03/31 13:25]
jeff
Line 1: Line 1:
 ======call_user_func====== ======call_user_func======
 +
 <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
Line 5: Line 6:
  
 ====Description==== ====Description====
 +
 <well size="sm"><html><span style="font-size:125%;color:green">mixed <well size="sm"><html><span style="font-size:125%;color:green">mixed
 <span style="color:black"></html>[[call_user_func]] <span style="color:black"></html>[[call_user_func]]
Line 18: Line 20:
  
 ====Parameters==== ====Parameters====
 +
 <html><span style="color:blue"><b>$function_name</b><span style="color:black"></html>:  String containing the name of the user function to call <html><span style="color:blue"><b>$function_name</b><span style="color:black"></html>:  String containing the name of the user function to call
  
Line 23: Line 26:
  
 ====Return Value==== ====Return Value====
 +
 Any type depending on the way the function is defined Any type depending on the way the function is defined
  
 ====Example==== ====Example====
 +
 <code php> <code php>
 <? <?
Line 37: Line 42:
  
 ====See Also==== ====See Also====
 +
 [[uphp:statements:function]] - Define a function [[uphp:statements:function]] - Define a function
  
Line 42: Line 48:
  
 ====Additional Information==== ====Additional Information====
 +
 User defined functions can take many different forms, and it is not necessary to use [[call_user_func()]] to execute a function unless a direct return value is needed. User defined functions can take many different forms, and it is not necessary to use [[call_user_func()]] to execute a function unless a direct return value is needed.
  
 If used within a function, the [[uphp:statements:return]] statement immediately ends execution of the function, and returns its argument as the value of the function call. If used within a function, the [[uphp:statements:return]] statement immediately ends execution of the function, and returns its argument as the value of the function call.
  
uphp/functions/call_user_func.txt · Last modified: 2021/09/13 05:57 (external edit)