fork(2) download
  1. <?php
  2.  
  3. $username = 'joao.silvestre';
  4. $names = explode('.', $username);
  5. $final = $names[0][0].substr($names[1], 0, 7);
  6. echo $final;
Success #stdin #stdout 0.02s 52488KB
stdin
Standard input is empty
stdout
jsilvest