You are here

private static function krumo::_marker in Devel 7

Same name and namespace in other branches
  1. 6 krumo/class.krumo.php \krumo::_marker()

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

@access private @static

Return value

string

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 885

Class

krumo
Krumo API

Code

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