终于把这个博客找回来???2333
把一直在有道云笔记零零散散记的东西在这里更新一份。
先从踩坑开始8??,毕竟坑踩多了才能成长!
20171212
redis使用set存数据,设置过期时间的单位是s(秒),pset的时间单位是ms(毫秒)
linux系统报的这个错误基本都是权限问题。php业务log是由php-cgi生成的,所以文件所属用户是cgi用户。
项目中场景:
$needle
, array $haystack
[, bool $strict
= FALSE
] ) : boolneedle
The searched value.
Note:
If
needle
is a string, the comparison is done in a case-sensitive manner.
haystack
The array.
strict
If the third parameter strict
is set to TRUE
then the in_array() function will also check the types of the needle
in the haystack
.
原文:https://www.cnblogs.com/92sunqing/p/10339490.html