参考:http://www.php.cn/wenda/91257.html
https://www.cnblogs.com/king-lps/p/7846414.html
http://blog.csdn.net/kancy110/article/details/75043202