src/debug/DebugHelper.php
public static function getFQFunctionName(array $frame, $nsLowerCase = false) {
        $class = $function = '';

        if (isset($frame['function'])) {
            $function = $frame['function'];

            if (isset($frame['class'])) {
                $class = $frame['class'];
                if ($nsLowerCase && is_int($pos=strrpos($class, '\\')))
                    $class = strtolower(substr($class, 0, $pos)).substr($class, $pos);
                $class = $class.$frame['type'];
            }
            elseif ($nsLowerCase && is_int($pos=strrpos($function, '\\'))) {
                $function = strtolower(substr($function, 0, $pos)).substr($function, $pos);
            }
        }
        return $class.$function;
    }
public static function getFQFunctionName(array $frame, $nsLowerCase = false) {
        $class = $function = '';

        if (isset($frame['function'])) {
            $function = $frame['function'];

            if (isset($frame['class'])) {
                $class = $frame['class'];
                if ($nsLowerCase && is_int($pos=strrpos($class, '\\')))
                    $class = strtolower(substr($class, 0, $pos)).substr($class, $pos);
                $class = $class.$frame['type'];
            }
            elseif ($nsLowerCase && is_int($pos=strrpos($function, '\\'))) {
                $function = strtolower(substr($function, 0, $pos)).substr($function, $pos);
            }
        }
        return $class.$function;
    }
public static function getFQFunctionName ( array $ frame , $ nsLowerCase = false ) { $ class = $ function = '' ; if ( isset ( $ frame [ 'function' ] ) ) { $ function = $ frame [ 'function' ] ; if ( isset ( $ frame [ 'class' ] ) ) { $ class = $ frame [ 'class' ] ; if ( $ nsLowerCase && is_int ( $ pos = strrpos ( $ class , '\\' ) ) ) $ class = strtolower ( substr ( $ class , 0 , $ pos ) ) . substr ( $ class , $ pos ) ; $ class = $ class . $ frame [ 'type' ] ; } elseif ( $ nsLowerCase && is_int ( $ pos = strrpos ( $ function , '\\' ) ) ) { $ function = strtolower ( substr ( $ function , 0 , $ pos ) ) . substr ( $ function , $ pos ) ; } } return $ class . $ function ; }
Return the fully qualified function or method name of a stacktrace's frame.

@param  array $frame                  - frame
@param  bool  $nsLowerCase [optional] - whether the namespace part of the name to return in lower case (default: no)

@return string - fully qualified name (without trailing parentheses)
Return the fully qualified function or method name of a stacktrace s frame .