fork download
  1. <?php
  2.  
  3. $str = '... 12:32 +0304] "GET /test.php?param=value ....';
  4. preg_match('/GET \/(.*?)\?/', $str, $re);
  5. print_r($re[1]);
Success #stdin #stdout 0.02s 52480KB
stdin
Standard input is empty
stdout
test.php