public static function getDebugBacktrace() {
	
		// get the backtrace and remove the error handler entry
		$backtrace = debug_backtrace();
		array_shift($backtrace);
	
		$ret = array();
			
		foreach ($backtrace as $event) {
	
			$args = array();
				
			if (array_key_exists('args', $event)) {
				foreach ($event['args'] as $arg) {
					$args[] = is_array($arg) ? 'array' : (is_object($arg) ? get_class($arg) : (string)$arg);
				}
			}
	
			// assemble all event’s info
			$ret[] =
			(isset($event['class']) ? $event['class'] .  $event['type'] : '') . $event['function'] .
			'(' . implode(', ', $args) . ')' .
			(isset($event['file']) ? ' | file ' . basename($event['file']) : '') .
			(isset($event['line']) ? ' line ' . $event['line'] : '');
	
		}
	
		return $ret;
	
	}
public static function getDebugBacktrace() {
	
		// get the backtrace and remove the error handler entry
		$backtrace = debug_backtrace();
		array_shift($backtrace);
	
		$ret = array();
			
		foreach ($backtrace as $event) {
	
			$args = array();
				
			if (array_key_exists('args', $event)) {
				foreach ($event['args'] as $arg) {
					$args[] = is_array($arg) ? 'array' : (is_object($arg) ? get_class($arg) : (string)$arg);
				}
			}
	
			// assemble all event’s info
			$ret[] =
			(isset($event['class']) ? $event['class'] .  $event['type'] : '') . $event['function'] .
			'(' . implode(', ', $args) . ')' .
			(isset($event['file']) ? ' | file ' . basename($event['file']) : '') .
			(isset($event['line']) ? ' line ' . $event['line'] : '');
	
		}
	
		return $ret;
	
	}
public static function getDebugBacktrace ( ) { // get the backtrace and remove the error handler entry
 $ backtrace = debug_backtrace ( ) ; array_shift ( $ backtrace ) ; $ ret = array ( ) ; foreach ( $ backtrace as $ event ) { $ args = array ( ) ; if ( array_key_exists ( 'args' , $ event ) ) { foreach ( $ event [ 'args' ] as $ arg ) { $ args [ ] = is_array ( $ arg ) ? 'array' : ( is_object ( $ arg ) ? get_class ( $ arg ) : ( string ) $ arg ) ; } } // assemble all event’s info
 $ ret [ ] = ( isset ( $ event [ 'class' ] ) ? $ event [ 'class' ] . $ event [ 'type' ] : '' ) . $ event [ 'function' ] . '(' . implode ( ', ' , $ args ) . ')' . ( isset ( $ event [ 'file' ] ) ? ' | file ' . basename ( $ event [ 'file' ] ) : '' ) . ( isset ( $ event [ 'line' ] ) ? ' line ' . $ event [ 'line' ] : '' ) ; } return $ ret ; }
Get the backtrace and assemble an array with comprehensible items.

@return array:string
Get the backtrace and assemble an array with comprehensible items .