<?php
Zend\Math\Rand::getString(6, '23456789abcdefghjkmnpqrstuvwxyz', true);
第三引数は暗号学的に強度にするかという指定です。
参照 : http://framework.zend.com/manual/2.2/en/modules/zend.math.introduction.html
More than 5 years have passed since last update.
<?php
Zend\Math\Rand::getString(6, '23456789abcdefghjkmnpqrstuvwxyz', true);
第三引数は暗号学的に強度にするかという指定です。
参照 : http://framework.zend.com/manual/2.2/en/modules/zend.math.introduction.html
Register as a new user and use Qiita more conveniently