mixed 说明一个参数可以接受多种不同的(但不一定是所有的)类型。
中文字符串转换函数:String iconv(string $in_charset,string $out_charset,string $str)
中文字符串截取函数:String iconv_substr(string $str,int $offset[,int $length=0[,string $charset=ini_set("iconv.internal_encoding")]])最后
时间转换函数
time()默认是当前时间毫秒数
string date ( string $format
[, int $timestamp
] )返回将整数 timestamp
按照给定的格式字串而产生的字符串。如果没有给出时间戳则使用本地当前时间。换句话说,timestamp
是可选的,默认值为 time()。
mixed microtime ([ bool $get_as_float
] )当前 Unix 时间戳以及微秒数。
本函数仅在支持 gettimeofday() 系统调用的操作系统下可用。如果给出了 get_as_float
参数并且其值等价于 TRUE
,microtime() 将返回一个浮点数。
strtotime — 将任何英文文本的日期时间描述解析为 Unix 时间戳
int strtotime ( string $time
[,
int $now
= time() ] )
time
日期/时间字符串。正确格式的说明详见
日期与时间格式
点击打开链接。
now
用来计算返回值的时间戳。
一位是编码
php GD
1.image->水印,缩放,合成图片,验证码
2.phpGraph 画图,饼图,柱状图等