PHP Classes / DebugLive

Show script debug information to authorized users

DebugLive PHP Class

This class can be used to show script debug information to authorized users. There are times when you need to debug live. Using this class you simply can call existing PHP functions or your own functions in live environment without worrying that a general site visitor will see result of those functions. You simply specify your IP (default method) or a Fingerprint(alternative method) and run the function you want to run by calling: Debug::Call()->FunctionYouWantToRun(FunctionArguments) They way debug information appears is custom. For instance, you can make it always appear inside the DIV tag with CSS property "display:none" in order not to "damage" view of your page. You can see detailed information about from which fie the function was called, line number, given arguments. See the following line as an example of possible output. ----------------- Function call details: Function: myFunction File: C:\wamp\www\zend_test\templates\debug_example.php Line: 129 Arguments: Argument [0] => Bbbbbbbbbbbbbb Call results the following output: ----------------- or ----------------- string(14) "Bbbbbbbbbbbbbb" bool(true) Function call details: Function: yetAnotherFunction File: C:\wamp\www\zend_test\templates\debug_example.php Line: 209 Arguments: Argument [0] => Call results the following output: ----------------- ... and much more. See "debug_example.php" file for more examples.

Similar PHP Classes

Search in PHP Classes

Filter by tags