src/Debugger/Bar/TracePanel.php
public function traceFunctionRe($re, $deep = false, $showInternals = false)
    {
        $cb = function (\stdClass $record, $isEntry) use ($re, $deep, $showInternals) {
            static $cnt = 0;

            if (\preg_match($re, $record->function)) {
                $cnt += $isEntry ? 1 : -1;

                return null;
            }

            return ($deep && $cnt && ($showInternals || !$record->isInternal)) ? null : self::SKIP;
        };

        $this->setFilterCallback($cb, self::FILTER_BOTH);
    }
public function traceFunctionRe($re, $deep = false, $showInternals = false)
    {
        $cb = function (\stdClass $record, $isEntry) use ($re, $deep, $showInternals) {
            static $cnt = 0;

            if (\preg_match($re, $record->function)) {
                $cnt += $isEntry ? 1 : -1;

                return null;
            }

            return ($deep && $cnt && ($showInternals || !$record->isInternal)) ? null : self::SKIP;
        };

        $this->setFilterCallback($cb, self::FILTER_BOTH);
    }
public function traceFunctionRe ( $ re , $ deep = false , $ showInternals = false ) { $ cb = function ( \ stdClass $ record , $ isEntry ) use ( $ re , $ deep , $ showInternals ) { static $ cnt = 0 ; if ( \ preg_match ( $ re , $ record -> function ) ) { $ cnt += $ isEntry ? 1 : - 1 ; return null ; } return ( $ deep && $ cnt && ( $ showInternals || ! $ record -> isInternal ) ) ? null : self :: SKIP ; } ; $ this -> setFilterCallback ( $ cb , self :: FILTER_BOTH ) ; }
Trace function which name is expressed by PCRE reqular expression.

@param  string $re            regular expression
@param  bool   $deep          show inside function trace too
@param  bool   $showInternals show internals in inside function trace
Trace function which name is expressed by PCRE reqular expression .