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