fork(3) download
  1. <?php
  2.  
  3. $nome = 'Wallace Souza';
  4.  
  5. $partes = explode(' ', $nome);
  6.  
  7. echo mb_substr($partes[0], 0, 1, 'UTF-8');
  8. echo mb_substr($partes[1], 0, 1, 'UTF-8');
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
WS