Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不明白为什么这会不断抛出“PHP Parse 错误”:
$salt = bin2hex(mcrypt_create_iv(size)(32, MCRYPT_DEV_URANDOM));
有任何想法吗?
因为
mcrypt_create_iv(size)(32, MCRYPT_DEV_URANDOM)
是胡说八道。应该
mcrypt_create_iv(32, MCRYPT_DEV_URANDOM)