fork download
  1. <?php
  2.  
  3. // your code goes here
  4. $test1 = "test";
  5. $test2 = "hello, world";
  6.  
  7. $explode1 = explode(',', $test1);
  8. $explode2 = explode(',', $test2);
  9.  
  10. var_dump($explode1, $explode2);
Success #stdin #stdout 0.02s 25744KB
stdin
Standard input is empty
stdout
array(1) {
  [0]=>
  string(4) "test"
}
array(2) {
  [0]=>
  string(5) "hello"
  [1]=>
  string(6) " world"
}