This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:include [2018/04/13 18:12] jeff Improved to include Notes (compilation, uPHP Tags) |
uphp:functions:include [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 26: | Line 26: | ||
====Notes==== | ====Notes==== | ||
- | This function is very useful for including frequently repeated code in multiple scripts. | + | This function is very useful for including frequently repeated code in multiple scripts. It is also useful for including different code depending upon configuration or provided files (varying " |
- | The code contained in the included file is compiled into the script the first time the script is run. If changes are made to the contents of an included file without modifying the script that contains [[include]] then re-compilation | + | The code contained in the included file is compiled into the script the first time the script is run. If changes are made to the contents of an included file without modifying the script that contains [[include]] then recompilation |
- | The included file is interpreted as HTML unless it contains the opening and closing uPHP Tags ''<?'' | + | The included file is interpreted as HTML unless it contains the opening and closing uPHP Tags ''<?'' |
- | ====See Also==== | + | ====Also |
[[call_user_func()]] - Call a user defined function with optional parameters | [[call_user_func()]] - Call a user defined function with optional parameters |