optional parameter in function

Posted by 夏泽民

https://blog.detectify.com/2019/09/05/how-we-tracked-down-a-memory-leak-in-one-of-our-go-microservices/



解决 ln -s 软链接产生的Too many levels of symbolic links错误

Posted by 夏泽民

解决 ln -s 软链接产生的Too many levels of symbolic links错误 解决方法:在使用ln -s命令时,使用绝对路径取代相对路径,例如:



array_merge

Posted by 夏泽民

array_merge 两个参数必须都是array,否则会返回null 即使是arrayObject也不行,必须getArrayCopy



libfaketime

Posted by 夏泽民

https://github.com/wolfcw/libfaketime



php 500

Posted by 夏泽民

$a=[‘a’=>124,’b’=>’23d’]; var_dump((string)$a);//Array,卡死 500 没有php-error var_dump(string($a));//php-error https://icocos.github.io/2018/12/25/PHP%E2%80%94%E2%80%94%E6%9C%8D%E5%8A%A1%E5%99%A8500%E9%94%99%E8%AF%AF%E6%80%BB%E7%BB%93/



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required