PHP去除浮点数后面多余的0
如: 5.1000 转化为5.1 6.00 转化为6 $str = 1.2200; echo … Read More »
如: 5.1000 转化为5.1 6.00 转化为6 $str = 1.2200; echo … Read More »
Memcached 存储命令 expire 过期时间设置 问题: 拿set命令为例 bool Memcache… Read More »
//$words = array(‘china’,’mother̵… Read More »
背景、概述 早在Sql注入横行的前几年,字符串转化为整数就已经被列为每个web程序必备的操作了。web程序… Read More »
在php中定义常量时,可用到const与define这两种方法,那他们到底有什么区别呢? 1.const用于类… Read More »
thinkphp中自定义函数的使用方法: 一、将函数放置于系统目录:ThinkPHP/Common/funct… Read More »
http://www.youkuchajian.com/ 去视频站广告插件 ABP … Read More »
定义和用法 usleep() 函数延迟代码执行若干微秒。 语法 usleep(microseconds) 参数… Read More »
定义和用法 sleep() 函数延迟代码执行若干秒。 语法 sleep(seconds) 参数 描述 seco… Read More »