/include/debug.php

Description

Debugging functions for the framework.

$Id: debug.php 594 2006-03-20 11:12:42Z stijn $

Functions
debug (line 17)

Print a debug message.

Checks whether PHP is running as an Apache module; if so, surrounds $msg with HTML code.

void debug (string $msg)
  • string $msg: the message to print
debugging_on (line 30)

Check whether a site wants debugging information.

  • return: true if the current site wants debugging information displayed
bool debugging_on ()
err_backtrace (line 48)

Print out a pretty stack backtrace prefixed with a message.

This function checks whether PHP is running as an Apache module, and surrounds $msg and backtrace with HTML code if so.

void err_backtrace (string $msg)
  • string $msg: the message to display.

Documentation generated on Fri, 30 Jun 2006 10:31:37 +0200 by phpDocumentor 1.3.0RC3