3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str="HTTP/1.1 200 OK Cache-Control: private Transfer-Encoding: chunked Content-Type: text/abo Server: Microsoft-IIS/7.5 content-disposition: attachment; filename=_07412052_140822_140904.gpc X-Powered-By: ASP.NET X-UA-Compatible: IE=edge,chrome=1 Strict-Transport-Security: max-age=2592000; includeSubDomains X-XSS-Protection: 1; mode=block X-Frame-Options: sameorigin Frame-Options: sameorigin Date: Thu, 04 Sep 2014 19:03:29 GMT"; $pattern="/(.+content-disposition)(.+)(\r\n.*)/"; $replace="$2"; echo preg_replace($pattern, $replace, $str); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pUEcu
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $pattern, !2 = $replace
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'HTTP%2F1.1+200+OK%0ACache-Control%3A+private%0ATransfer-Encoding%3A+chunked%0AContent-Type%3A+text%2Fabo%0AServer%3A+Microsoft-IIS%2F7.5%0Acontent-disposition%3A+attachment%3B+filename%3D_07412052_140822_140904.gpc%0AX-Powered-By%3A+ASP.NET%0AX-UA-Compatible%3A+IE%3Dedge%2Cchrome%3D1%0AStrict-Transport-Security%3A+max-age%3D2592000%3B+includeSubDomains%0AX-XSS-Protection%3A+1%3B+mode%3Dblock%0AX-Frame-Options%3A+sameorigin%0AFrame-Options%3A+sameorigin%0ADate%3A+Thu%2C+04+Sep+2014+19%3A03%3A29+GMT'
   15     1        ASSIGN                                                   !1, '%2F%28.%2Bcontent-disposition%29%28.%2B%29%28%0D%0A.%2A%29%2F'
   16     2        ASSIGN                                                   !2, '%242'
   17     3        INIT_FCALL                                               'preg_replace'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !2
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ECHO                                                     $6
   18     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.77 ms | 1394 KiB | 15 Q