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