fork(2) download
  1. <?php
  2.  
  3. $content = "Content-Type: multipart/alternative; boundary=f403045e21e067188c05413187fd\r\n";
  4. preg_match_all("!boundary=(.*?)\r?$!mi", $content, $matches);
  5. print_r(str_replace("\r", "\\r", $matches[1]));
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
Array
(
    [0] => f403045e21e067188c05413187fd
)