original_string: private function input_filter($args) {
  		static $magic_quotes_gpc = NULL;
  		
  		if ($magic_quotes_gpc === NULL)
  			$magic_quotes_gpc = (version_compare(PHP_VERSION, '5.4', '<') && get_magic_quotes_gpc());
  		
  		if (is_array($args)) {
  			return array_map(array(& $this, 'input_filter'), $args);
  		}
  		$res = str_replace("\0", '', $args);
  		$magic_quotes_gpc && ($res = stripslashes($res));
  		return $res;
  	}
code: private function input_filter($args) {
  		static $magic_quotes_gpc = NULL;
  		
  		if ($magic_quotes_gpc === NULL)
  			$magic_quotes_gpc = (version_compare(PHP_VERSION, '5.4', '<') && get_magic_quotes_gpc());
  		
  		if (is_array($args)) {
  			return array_map(array(& $this, 'input_filter'), $args);
  		}
  		$res = str_replace("\0", '', $args);
  		$magic_quotes_gpc && ($res = stripslashes($res));
  		return $res;
  	}
code_tokens: private function input_filter ( $ args ) { static $ magic_quotes_gpc = NULL ; if ( $ magic_quotes_gpc === NULL ) $ magic_quotes_gpc = ( version_compare ( PHP_VERSION , '5.4' , '<' ) && get_magic_quotes_gpc ( ) ) ; if ( is_array ( $ args ) ) { return array_map ( array ( & $ this , 'input_filter' ) , $ args ) ; } $ res = str_replace ( "\0" , '' , $ args ) ; $ magic_quotes_gpc && ( $ res = stripslashes ( $ res ) ) ; return $ res ; }
docstring: Remove null & stripslashes applies on "magic_quotes_gpc"
  
  @param  mixed  $args
  @return mixed
  @author Naoki Sawada
docstring_tokens: Remove null & stripslashes applies on magic_quotes_gpc