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
Previous revision
Next revision Both sides next revision
uphp:functions:call_user_func [2017/03/31 13:25]
jeff
uphp:functions:call_user_func [2017/05/09 09:58]
jeff
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"><html><span style="font-size:125%;color:green">mixed +<well size="sm"><html> 
-<span style="color:black"></html>[[call_user_func]] +<span style="font-size:125%;color:green">mixed 
-<html>(+<span style="color:black">call_user_func (
 <span style="color:green">string <span style="color:green">string
 <span style="color:blue">$function_name <span style="color:blue">$function_name
Line 17: Line 17:
 <span style="color:black">... ] ) <span style="color:black">... ] )
 </html></well> </html></well>
 +
 Return result as defined by the user function  Return result as defined by the user function 
  
 ====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><b><span style="color:blue">$function_name<span style="color:black"></b>:  <b><span style="color:green">String<span style="color:black"></b> containing the name of the user function to call</html>
  
-<html><span style="color:blue"><b>$parameters</b><span style="color:black"></html>:  Optional parameter(s) to pass to the function+<html><b><span style="color:blue">$parameters<span style="color:black"></b></html>:  Optional parameter(s) to pass to the function
  
 ====Return Value==== ====Return Value====
  
-Any type depending on the way the function is defined+<html><b><span style="color:green">Mixed<span style="color:black"></b></html>:  Any type depending on the way the function is defined
  
 ====Example==== ====Example====
Line 42: Line 43:
  
 ====See Also==== ====See Also====
 +
 +[[function_exists()]] - Check if a function exists (native or custom)
  
 [[uphp:statements:function]] - Define a function [[uphp:statements:function]] - Define a function
uphp/functions/call_user_func.txt · Last modified: 2021/09/13 05:57 (external edit)