ulvis.paste.net - pastebin

Paste Search Dynamic
Recent pastes
name
  1. <?php
  2.  
  3. // your code goes here
  4.  
  5.  
  6.  
  7. $name = "Angad";
  8. $name = explode(' ',$name);
  9.  
  10. $firstname = $name[0];
  11. $lastname = end($name);
  12.  
  13.  
  14. var_dump($firstname , $lastname);
  15.  
  16. ?>
Parsed in 0.006 seconds