This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
uphp:functions:call_user_func [2017/03/28 20:04] jeff |
uphp:functions:call_user_func [2017/03/31 13:25] jeff |
||
---|---|---|---|
Line 1: | Line 1: | ||
======call_user_func====== | ======call_user_func====== | ||
+ | |||
< | < | ||
Line 5: | Line 6: | ||
====Description==== | ====Description==== | ||
- | <well size=" | + | |
- | <span style=" | + | <well size=" |
+ | <span style=" | ||
< | < | ||
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
</ | </ | ||
Return result as defined by the user function | Return result as defined by the user function | ||
====Parameters==== | ====Parameters==== | ||
- | < | ||
- | < | + | < |
+ | |||
+ | < | ||
====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: | [[uphp: | ||
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: | If used within a function, the [[uphp: | ||