function krumo::_marker

Same name in other branches
  1. 7.x-1.x krumo/class.krumo.php \krumo::_marker()

* Return the marked used to stain arrays * and objects in order to detect recursions * *

Return value

string * @access private * @static

3 calls to krumo::_marker()
krumo::dump in krumo/class.krumo.php
* Dump information about a variable * *
krumo::_hive in krumo/class.krumo.php
* Adds a variable to the hive of arrays and objects which * are tracked for whether they have recursive entries * *
krumo::_vars in krumo/class.krumo.php
* Render a dump for the properties of an array or objeect * *

File

krumo/class.krumo.php, line 859

Class

krumo
Krumo API

Code

static function _marker() {
    static $_recursion_marker;
    if (!isset($_recursion_marker)) {
        $_recursion_marker = uniqid('krumo');
    }
    return $_recursion_marker;
}