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:function_exists [2017/04/13 07:14] jeff |
uphp:functions:function_exists [2017/05/09 10:03] jeff |
||
---|---|---|---|
Line 7: | Line 7: | ||
====Description==== | ====Description==== | ||
- | <well size=" | + | <well size=" |
- | < | + | |
<span style=" | <span style=" | ||
- | <span style=" | + | <span style=" |
- | </ | + | |
- | [[function_exists]] ( | + | |
- | < | + | |
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
- | </ | + | </ |
- | </ | + | |
This function will check to see if a function exists in firmware (native, internal) or has been defined in the current script context (custom, user-defined). | This function will check to see if a function exists in firmware (native, internal) or has been defined in the current script context (custom, user-defined). | ||
Line 32: | Line 27: | ||
====Examples==== | ====Examples==== | ||
- | ===Check for the existence of the [[array_key()]] function (available if firmware >= 1.953)=== | + | ===Check for the existence of the 'array_key' |
<code php> | <code php> |