排序
chmod
PHP chmod() 函数定义和用法chmod() 函数改变文件模式。如果成功则返回 TRUE,否则返回 FALSE。语法chmod(file,mode)参数描述file必需。规定要检查的文件。mode可选。规定新的权限。mode 参数由...
sha1
PHP sha1() 函数定义和用法sha1() 函数计算字符串的 SHA-1 散列。sha1() 函数使用美国 Secure Hash 算法 1。如果成功,则返回所计算的 SHA-1 散列,如果失败,则返回 false。语法sha1(string,...
rename
PHP rename() 函数定义和用法rename() 函数重命名文件或目录。若成功,则该函数返回 true。若失败,则返回 false。语法rename(oldname,newname,context)参数描述oldname必需。规定要重命名的...
stripos
PHP stripos() 函数定义和用法stripos() 函数返回字符串在另一个字符串中第一次出现的位置。如果没有找到该字符串,则返回 false。语法strpos(string,find,start)参数描述string必需。规定被...
defined
PHP defined() 函数定义和用法defined() 函数检查某常量是否存在。若常量存在,则返回 true,否则返回 false。语法defined(name)参数描述name必需。规定要检查的常量的名称。例子输出:1
strtotime
PHP strtotime() 函数定义和用法strtotime() 函数将任何英文文本的日期时间描述解析为 Unix 时间戳。语法strtotime(time,now)参数描述time规定要解析的时间字符串。now用来计算返回值的时间戳。...
xml_parse_into_struct
PHP xml_parse_into_struct() 函数定义和用法xml_parse_into_struct() 函数把 XML 数据解析到数组中。该函数把 XML 数据解析到 2 个数组中:Value 数组 - 包含来自被解析的 XML 的数据Index ...
atan
定义和用法atan() 函数返回一个数值的反正切,返回值介于 -PI/2 与 PI/2 之间。atan2() 函数返回两个参数的反正切,返回值为弧度,其值在 -PI 和 PI 之间(包括 -PI 和 PI)。语法atan(x) atan2...
fgets
PHP fgets() 函数定义和用法fgets() 函数从文件指针中读取一行。语法fgets(file,length)参数描述file必需。规定要读取的文件。length可选。规定要读取的字节数。默认是 1024 字节。说明从 fi...
ord
PHP ord() 函数定义和用法ord() 函数返回字符串第一个字符的 ASCII 值。语法ord(string)参数描述string必需。要从中获得 ASCII 值的字符串。例子输出:104 104
