array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'ev.depth.php', 1 => 'Ev::depth', ), 'up' => array ( 0 => 'class.ev.php', 1 => 'Ev', ), 'prev' => array ( 0 => 'ev.backend.php', 1 => 'Ev::backend', ), 'next' => array ( 0 => 'ev.embeddablebackends.php', 1 => 'Ev::embeddableBackends', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/ev/depth.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ev >= 0.2.0)
Ev::depth — Returns recursion depth
The number of times
Ev::run()
was entered minus the number of times
Ev::run()
was exited normally, in other words, the recursion depth. Outside
Ev::run()
, this number is
0
. In a callback, this number is
1
, unless
Ev::run()
was invoked recursively (or from another thread), in which case it is
higher.
Bu işlevin bağımsız değişkeni yoktur.
ev_depth() returns recursion depth of the default loop.