function krumo::defines

Prints a list of all currently declared constants.

@access public @static

File

krumo/class.krumo.php, line 196

Class

krumo
Krumo API

Code

public static function defines() {
    // disabled ?
    //
    if (!krumo::_debug()) {
        return false;
    }
    // render it
    //
    ?>
<div class="krumo-title">
This is a list of all currently declared constants (defines).
</div>
    <?php

    return krumo::dump(get_defined_constants());
}