【发布时间】:2012-04-23 16:58:46
【问题描述】:
以下代码不会在 Windows 上的 WAMP 中生成输出。
在 MAMP 上运行良好。
猜测是缺少模块之类的。
$reportHash = str_replace(
array('+','/','='),
array('-','_',''),
base64_encode(file_get_contents('/dev/urandom', null, null, -1, 16)));
【问题讨论】:
标签: php