original_string: public function removePreProcessor($callback)
  	{
  		if (($index = array_search($callback, $this->processors['pre'], true)) !== false) {
  			unset($this->processors['pre'][$index]);
  		} elseif (($index = array_search('Dwoo_Processor_'.str_replace('Dwoo_Processor_', '', $callback), $this->processors['pre'], true)) !== false) {
  			unset($this->processors['pre'][$index]);
  		} else {
  			$class = 'Dwoo_Processor_' . str_replace('Dwoo_Processor_', '', $callback);
  			foreach ($this->processors['pre'] as $index=>$proc) {
  				if (is_array($proc) && ($proc[0] instanceof $class) || (isset($proc['class']) && $proc['class'] == $class)) {
  					unset($this->processors['pre'][$index]);
  					break;
  				}
  			}
  		}
  	}
code: public function removePreProcessor($callback)
  	{
  		if (($index = array_search($callback, $this->processors['pre'], true)) !== false) {
  			unset($this->processors['pre'][$index]);
  		} elseif (($index = array_search('Dwoo_Processor_'.str_replace('Dwoo_Processor_', '', $callback), $this->processors['pre'], true)) !== false) {
  			unset($this->processors['pre'][$index]);
  		} else {
  			$class = 'Dwoo_Processor_' . str_replace('Dwoo_Processor_', '', $callback);
  			foreach ($this->processors['pre'] as $index=>$proc) {
  				if (is_array($proc) && ($proc[0] instanceof $class) || (isset($proc['class']) && $proc['class'] == $class)) {
  					unset($this->processors['pre'][$index]);
  					break;
  				}
  			}
  		}
  	}
code_tokens: public function removePreProcessor ( $ callback ) { if ( ( $ index = array_search ( $ callback , $ this -> processors [ 'pre' ] , true ) ) !== false ) { unset ( $ this -> processors [ 'pre' ] [ $ index ] ) ; } elseif ( ( $ index = array_search ( 'Dwoo_Processor_' . str_replace ( 'Dwoo_Processor_' , '' , $ callback ) , $ this -> processors [ 'pre' ] , true ) ) !== false ) { unset ( $ this -> processors [ 'pre' ] [ $ index ] ) ; } else { $ class = 'Dwoo_Processor_' . str_replace ( 'Dwoo_Processor_' , '' , $ callback ) ; foreach ( $ this -> processors [ 'pre' ] as $ index => $ proc ) { if ( is_array ( $ proc ) && ( $ proc [ 0 ] instanceof $ class ) || ( isset ( $ proc [ 'class' ] ) && $ proc [ 'class' ] == $ class ) ) { unset ( $ this -> processors [ 'pre' ] [ $ index ] ) ; break ; } } } }
docstring: removes a preprocessor from the compiler
  
  @param mixed $callback either a valid callback to the preprocessor or a simple name if it was autoloaded
docstring_tokens: removes a preprocessor from the compiler