Chapter 4: Architecture (Web hosting service) of an Intranet Application .
Chapter 4: Architecture of an Intranet Application . write(): This function displays a debug message using the chosen color and automatically prints the debug message line number. If debug buffering is on, then the message is written to the buffer (buffer_str). . debug_array(): This function allows you to debug an associative array. It prints the contents of the associative array parameter using the write() method. . set_buffer(): This function sets the buffering of debug messages. . reset_buffer(): This function resets the buffering of debug messages. . flush_buffer(): This function prints the buffer content along with the debug banner. Now let s look at how an application called test_debugger2.php can use this debugging facility: blue , prefix => MAIN , buffer => 0) );