Home  >  Article  >  php教程  >  请教:把一个php函数转换成C#

请教:把一个php函数转换成C#

WBOY
WBOYOriginal
2016-06-06 19:45:461422browse

自己查一下就行了,感觉你也就是懒。我也不懂PHP,但是我查了一下: 1.$key是一个变量,php定义变量不用限定类型。 2.后面的 "ww"."w.jis"."higo"."u.c"."om";是将几个字符串拼接起来,""中间是字符串,.是将字符串拼接。 3.md5是用md5加密算法加密。 4. str

自己查一下就行了,感觉你也就是懒。我也不懂PHP,但是我查了一下:

1.$key是一个变量,php定义变量不用限定类型。

2.后面的"ww"."w.jis"."higo"."u.c"."om";是将几个字符串拼接起来,""中间是字符串,.是将字符串拼接。

3.md5是用md5加密算法加密。

4.strlen是返回字符串长度的函数。

5.%是取余运算。

6.下面那个{}类似索引。

7.abs是返回绝对值。

最后那个crc32是什么意思自己去查吧。。。

多学习一下基础,别总是伸手要代码,对你的发展不好。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn