fork(1) download
  1. <?php
  2. $tags = "unread dev test1 ";
  3. $tagsArr = preg_split("/ +/", $tags, -1, PREG_SPLIT_NO_EMPTY);
  4. foreach ($tagsArr as $value) {
  5. echo $value . ";";
  6. }
  7. ?>
Success #stdin #stdout 0.02s 13112KB
stdin
Standard input is empty
stdout
unread;dev;test1;