使用例
//パスワード生成クラス読み込み
require_once 'My/Password.php';
//デフォルトは8桁のパスワードが生成されます
$password = My_Password::getPassword();
var_dump($password);
//『32桁、小文字英字のみ』のパスワード生成
$password = My_Password::getPassword(32, 'small');
var_dump($password);
…
NSAssert
指定した条件が間違っていればlogに文字列を書き込む
NSAssert2
指定した条件が間違っていればlogに引数2つの文字列を書き込む
http://www.oomori.com/cocoafw/Foundation/NSAssert2/NSAssert2.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。