fork(1) download
  1. <?php
  2.  
  3. $cypher = "abcdefghiklmnopqrstuvwxyz";
  4. $length = count($cypher);
  5. $string = mb_substr($cypher, mt_rand(0, $length-1), mt_rand(0, $length-1));
  6. var_dump($length, $string);
  7.  
Success #stdin #stdout 0.02s 24448KB
stdin
Standard input is empty
stdout
int(1)
string(0) ""