original_string: protected function gdImageCreate($path,$mime){
  		switch($mime){
  			case 'image/jpeg':
  			return imagecreatefromjpeg($path);
  
  			case 'image/png':
  			return imagecreatefrompng($path);
  
  			case 'image/gif':
  			return imagecreatefromgif($path);
  
  			case 'image/xbm':
  			return imagecreatefromxbm($path);
  		}
  		return false;
  	}
code: protected function gdImageCreate($path,$mime){
  		switch($mime){
  			case 'image/jpeg':
  			return imagecreatefromjpeg($path);
  
  			case 'image/png':
  			return imagecreatefrompng($path);
  
  			case 'image/gif':
  			return imagecreatefromgif($path);
  
  			case 'image/xbm':
  			return imagecreatefromxbm($path);
  		}
  		return false;
  	}
code_tokens: protected function gdImageCreate ( $ path , $ mime ) { switch ( $ mime ) { case 'image/jpeg' : return imagecreatefromjpeg ( $ path ) ; case 'image/png' : return imagecreatefrompng ( $ path ) ; case 'image/gif' : return imagecreatefromgif ( $ path ) ; case 'image/xbm' : return imagecreatefromxbm ( $ path ) ; } return false ; }
docstring: Create an gd image according to the specified mime type
  
  @param string $path image file
  @param string $mime
  @return gd image resource identifier
docstring_tokens: Create an gd image according to the specified mime type