original_string: public function debug()
  	{
  	    $errorToreturn = '';
  		if($this->_debug && $this->hasError() ){
  			$message = $this->getMessage();
  			$trace = $this->getTrace();
  			$critical = $this->getCritical();
  
  			for($i= 0, $count = sizeOf($message); $i<$count;$i++ ) {
  
  				if($critical[$i]){
                      echo '<strong style="color:red">';
  				} else  {
  					continue;
  				}
  
  				CheckoutApi_Utility_Utilities::dump($message[$i] .'==> { ');
  				
  				foreach($trace[$i] as $errorIndex => $errors) {
                      echo   "<pre>";
                      echo    $errorIndex ."=>  "; print_r($errors);
  
                      echo   "</pre>";
  				}
  				
  				if($critical[$i])	{
                      echo   '</strong>';
  				}
  				
  				CheckoutApi_Utility_Utilities::dump('} ');
  				
  			}
  			
  		}
  		return $errorToreturn;
  	}
code: public function debug()
  	{
  	    $errorToreturn = '';
  		if($this->_debug && $this->hasError() ){
  			$message = $this->getMessage();
  			$trace = $this->getTrace();
  			$critical = $this->getCritical();
  
  			for($i= 0, $count = sizeOf($message); $i<$count;$i++ ) {
  
  				if($critical[$i]){
                      echo '<strong style="color:red">';
  				} else  {
  					continue;
  				}
  
  				CheckoutApi_Utility_Utilities::dump($message[$i] .'==> { ');
  				
  				foreach($trace[$i] as $errorIndex => $errors) {
                      echo   "<pre>";
                      echo    $errorIndex ."=>  "; print_r($errors);
  
                      echo   "</pre>";
  				}
  				
  				if($critical[$i])	{
                      echo   '</strong>';
  				}
  				
  				CheckoutApi_Utility_Utilities::dump('} ');
  				
  			}
  			
  		}
  		return $errorToreturn;
  	}
code_tokens: public function debug ( ) { $ errorToreturn = '' ; if ( $ this -> _debug && $ this -> hasError ( ) ) { $ message = $ this -> getMessage ( ) ; $ trace = $ this -> getTrace ( ) ; $ critical = $ this -> getCritical ( ) ; for ( $ i = 0 , $ count = sizeOf ( $ message ) ; $ i < $ count ; $ i ++ ) { if ( $ critical [ $ i ] ) { echo '<strong style="color:red">' ; } else { continue ; } CheckoutApi_Utility_Utilities :: dump ( $ message [ $ i ] . '==> { ' ) ; foreach ( $ trace [ $ i ] as $ errorIndex => $ errors ) { echo "<pre>" ; echo $ errorIndex . "=>  " ; print_r ( $ errors ) ; echo "</pre>" ; } if ( $ critical [ $ i ] ) { echo '</strong>' ; } CheckoutApi_Utility_Utilities :: dump ( '} ' ) ; } } return $ errorToreturn ; }
docstring: CheckoutApi_ print out the error
  @return string $errorToreturn a list of errors
docstring_tokens: CheckoutApi_ print out the error