original_string: public static function hash($value)
      {
          $hash = is_object($value)
              ? spl_object_hash($value)
              : md5(Php::encode($value));
  
          return $hash;
      }
code: public static function hash($value)
      {
          $hash = is_object($value)
              ? spl_object_hash($value)
              : md5(Php::encode($value));
  
          return $hash;
      }
code_tokens: public static function hash ( $ value ) { $ hash = is_object ( $ value ) ? spl_object_hash ( $ value ) : md5 ( Php :: encode ( $ value ) ) ; return $ hash ; }
docstring: Get hash for value for any type
  
  @param mixed $value
  
  @return string
docstring_tokens: Get hash for value for any type