2018年3月21日
摘要: array array_combine ( array $keys , array $values ) $keys 将被作为新数组的键。非法的值将会被转换为字符串类型(string)。 阅读全文
posted @ 2018-03-21 16:52 _zxd 阅读(165) 评论(0) 推荐(0) 编辑
摘要: password_hash(要加密的密码,PASSWORD_DEFAULT); string password_hash ( string $password , int $algo [, array $options ] ) 创建密码的散列(hash) bool password_verify ( 阅读全文
posted @ 2018-03-21 16:47 _zxd 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 获取保存token 阅读全文
posted @ 2018-03-21 16:36 _zxd 阅读(913) 评论(0) 推荐(0) 编辑
摘要: PHP中的goto有一定限制,只能在同一个文件和作用域中跳转, 也就是说你无法跳出一个函数或类方法,也无法跳入到另一个函数。你也无法跳入到任何循环或者switch 结构中。常见的用法是用来跳出循环或者switch,可以代替多层的break。 阅读全文
posted @ 2018-03-21 16:29 _zxd 阅读(1369) 评论(0) 推荐(0) 编辑