original_string: public static function convertVariableToString($variable) {
  		$string = '';
  		if (is_array($variable)) {
  			$string = self::viewArray($variable);
  		} elseif (is_object($variable)) {
  			$string = '<strong>|Object:<pre>';
  			$string .= print_r($variable, TRUE);
  			$string .= '</pre>|</strong>';
  		} elseif ((string) $variable !== '') {
  			$string = '<strong>|' . htmlspecialchars((string) $variable) . '|</strong>';
  		} else {
  			$string = '<strong>| debug |</strong>';
  		}
  
  		return $string;
  	}
code: public static function convertVariableToString($variable) {
  		$string = '';
  		if (is_array($variable)) {
  			$string = self::viewArray($variable);
  		} elseif (is_object($variable)) {
  			$string = '<strong>|Object:<pre>';
  			$string .= print_r($variable, TRUE);
  			$string .= '</pre>|</strong>';
  		} elseif ((string) $variable !== '') {
  			$string = '<strong>|' . htmlspecialchars((string) $variable) . '|</strong>';
  		} else {
  			$string = '<strong>| debug |</strong>';
  		}
  
  		return $string;
  	}
code_tokens: public static function convertVariableToString ( $ variable ) { $ string = '' ; if ( is_array ( $ variable ) ) { $ string = self :: viewArray ( $ variable ) ; } elseif ( is_object ( $ variable ) ) { $ string = '<strong>|Object:<pre>' ; $ string .= print_r ( $ variable , TRUE ) ; $ string .= '</pre>|</strong>' ; } elseif ( ( string ) $ variable !== '' ) { $ string = '<strong>|' . htmlspecialchars ( ( string ) $ variable ) . '|</strong>' ; } else { $ string = '<strong>| debug |</strong>' ; } return $ string ; }
docstring: Converts a variable to a string
  
  @param mixed $variable
  @return string
docstring_tokens: Converts a variable to a string