number_format 的千分位

PHP语言中的number_format()定义如下 function number_format ($number , $decimals = 0 , $dec_point = '.' , $thousands_sep = ',' ) {} 注意第四位参数,是千分位符号,默认是逗号,而不是...

ThinkPHP: URL不区分大小写

ThinkPHP 要实现URL全部小写,需要修改配置:/ThinkPHP/Conf/convention.php的参数: URL_CASE_INSENSITIVE=true 注意如果发现不生效,请检查一下是否开启了debug模式,如果有开启,ThinkPH...

2018/06/11 16:25
219
php与异步任务

GearMan - this answer was written in 2009, and since then GearMan looks a popular option, see comments below. ActiveMQ if you want a full blown open source message queue. ZeroMQ...

2017/05/23 21:34
88
Run php script as daemon process

Supervisor 推荐!活跃度比较高。但是目前依赖Python upstart 类似init的替换品 daemon tools php simple daemon linux tool: start-stop-daemon 比较简单的一种 nohup php script.php & 不可...

2017/03/04 14:00
82

没有更多内容

加载失败,请刷新页面