protected function filterItem(array $item, array $options)
    {
        if ($options['filter']) {
            $f = call_user_func($options['filter'], $item);
            if ($f) {
                return $f;
            }
        }
        if (!empty($item['class'])) {
            $result = $this->filterByClass($item, $options);
            if ($result !== false) {
                return $result;
            }
        }
        if (!empty($item['file'])) {
            return $this->filterByFile($item, $options);
        }
        return self::FILTER_SKIP;
    }
protected function filterItem(array $item, array $options)
    {
        if ($options['filter']) {
            $f = call_user_func($options['filter'], $item);
            if ($f) {
                return $f;
            }
        }
        if (!empty($item['class'])) {
            $result = $this->filterByClass($item, $options);
            if ($result !== false) {
                return $result;
            }
        }
        if (!empty($item['file'])) {
            return $this->filterByFile($item, $options);
        }
        return self::FILTER_SKIP;
    }
protected function filterItem ( array $ item , array $ options ) { if ( $ options [ 'filter' ] ) { $ f = call_user_func ( $ options [ 'filter' ] , $ item ) ; if ( $ f ) { return $ f ; } } if ( ! empty ( $ item [ 'class' ] ) ) { $ result = $ this -> filterByClass ( $ item , $ options ) ; if ( $ result !== false ) { return $ result ; } } if ( ! empty ( $ item [ 'file' ] ) ) { return $ this -> filterByFile ( $ item , $ options ) ; } return self :: FILTER_SKIP ; }
Check a backtrace item for truncate

@param array $item
an item of the backtrace
@param array $options
@return mixed
result as FILTER_* constant
Check a backtrace item for truncate