PHP资料网
PHP学习之路
Skip to content
  • PHP学习之路

PHP去除浮点数后面多余的0

如: 5.1000  转化为5.1 6.00 转化为6   $str = 1.2200; echo … Read More »

Category: PHP杂记

Memcached 超时时间

Memcached 存储命令 expire 过期时间设置 问题: 拿set命令为例 bool Memcache… Read More »

Category: 相关技术

排列组合

//$words = array(‘china’,’mother&#821… Read More »

Category: 未分类

PHP中将字符串转化为整数(int) intval() printf()

背景、概述   早在Sql注入横行的前几年,字符串转化为整数就已经被列为每个web程序必备的操作了。web程序… Read More »

Category: PHP杂记

php 常量定义 const与define的区别

在php中定义常量时,可用到const与define这两种方法,那他们到底有什么区别呢? 1.const用于类… Read More »

Category: PHP技术 PHP杂记

ThinkPHP3.2.2中自定义函数的一些方法

thinkphp中自定义函数的使用方法: 一、将函数放置于系统目录:ThinkPHP/Common/funct… Read More »

Category: ThinkPHP

chrome插件

http://www.youkuchajian.com/  去视频站广告插件   ABP      … Read More »

Category: 私密

ip2long

Category: 未分类

PHP usleep() 函数

定义和用法 usleep() 函数延迟代码执行若干微秒。 语法 usleep(microseconds) 参数… Read More »

Category: PHP手册 PHP杂项函数 标签:PHP

PHP sleep() 函数

定义和用法 sleep() 函数延迟代码执行若干秒。 语法 sleep(seconds) 参数 描述 seco… Read More »

Category: PHP手册 PHP杂项函数
Post navigation
← Older posts

近期文章

  • PHP去除浮点数后面多余的0
  • Memcached 超时时间
  • 排列组合
  • PHP中将字符串转化为整数(int) intval() printf()
  • php 常量定义 const与define的区别

近期评论

  • docker发表在《PHP学习之路》
  • docker发表在《PHP学习之路》
  • docker发表在《PHP学习之路》
  • docker发表在《PHP学习之路》

文章归档

  • 2014年十月
  • 2014年九月
  • 2014年八月
  • 2014年七月
  • 2014年六月
  • 2014年三月
  • 2014年二月

分类目录

  • PHP杂记
  • 未分类

功能

  • 登录
  • 项目feed
  • 评论feed
custom footer text left
custom footer text right
版权所有:PHPZL  备案信息: