fork download
  1. <?php
  2.  
  3. function unhash($h) {
  4. $letters = "acegikmnoprstuvy";
  5. //new string return
  6. $s='';
  7. while ($h>7){
  8. //hold
  9. $pos = fmod($h, 37);
  10. $s = $letters[$pos].$s;
  11. $h = ($h-$pos) / 37 ;
  12. }
  13. return $s;
  14. }
  15. $something = unhash("leepadg");
  16. echo $something
Runtime error #stdin #stdout #stderr 0.01s 82880KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Parse error:  syntax error, unexpected end of file, expecting ',' or ';' in /home/mNw4IK/prog.php on line 16