This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:debugout [2017/04/04 13:07] jeff |
uphp:functions:debugout [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
====Description==== | ====Description==== | ||
- | <well size=" | + | <well size=" |
- | < | + | <span style=" |
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
Line 20: | Line 20: | ||
< | < | ||
- | ====Return | + | ====Return |
None | None | ||
Line 26: | Line 26: | ||
====Example==== | ====Example==== | ||
- | **Do nothing for 10 seconds during which time all debug alerts appear on the console:** | + | ===Do nothing for 10 seconds during which time all debug alerts appear on the console=== |
<code php> | <code php> | ||
Line 42: | Line 42: | ||
[[error_reporting()]] - Set the debug output level | [[error_reporting()]] - Set the debug output level | ||
- | [[log()]] - Print to the System Log | + | [[log()]] - Print to the System Log (or optional file) |
- | [[print()]] - Output | + | [[print()]] - Print data to the current output stream such as a web page or terminal |
- | [[max_execution_time()]] - Set maximum execution time in seconds | + | [[max_execution_time()]] - Set the maximum execution time for the current script |