3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result='Content-Type: text/html Content-Length: 6400 Connection: close Server: Server Date: Fri, 20 Apr 2018 19:36:29 GMT Vary: Content-Type,Host,Cookie,Accept-Encoding,User-Agent X-Cache: Miss from cloudfront Via: 1.1 e96a3d9585744d8d148862e08e86b476.cloudfront.net (CloudFront) X-Amz-Cf-Id: ooKmjKB4yHQCf_TcCQ0aWkEwHbh7ITSubfc2suPj8g0qpokRTu_qXA==' . "\r\n\r\n" . '<!DOCTYPE html> <!--[if lt IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8 a-lt-ie7"> <![endif]--> <!--[if IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8"> <![endif]--> <!--[if IE 8]> <html lang="en-us" class="a-no-js a-lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="a-no-js" lang="en-us"><!--<![endif]--><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8">'; $pos = strpos($result, "=="); echo bin2hex(substr($result, $pos + 2, 4)); exit(0); $rr=explode("\r\n\r\n", $result); echo @$rr[1]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/MS01D
function name:  (null)
number of ops:  27
compiled vars:  !0 = $result, !1 = $pos, !2 = $rr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Content-Type%3A+text%2Fhtml%0AContent-Length%3A+6400%0AConnection%3A+close%0AServer%3A+Server%0ADate%3A+Fri%2C+20+Apr+2018+19%3A36%3A29+GMT%0AVary%3A+Content-Type%2CHost%2CCookie%2CAccept-Encoding%2CUser-Agent%0AX-Cache%3A+Miss+from+cloudfront%0AVia%3A+1.1+e96a3d9585744d8d148862e08e86b476.cloudfront.net+%28CloudFront%29%0AX-Amz-Cf-Id%3A+ooKmjKB4yHQCf_TcCQ0aWkEwHbh7ITSubfc2suPj8g0qpokRTu_qXA%3D%3D%0D%0A%0D%0A%3C%21DOCTYPE+html%3E%0A%3C%21--%5Bif+lt+IE+7%5D%3E+%3Chtml+lang%3D%22en-us%22+class%3D%22a-no-js+a-lt-ie9+a-lt-ie8+a-lt-ie7%22%3E+%3C%21%5Bendif%5D--%3E%0A%3C%21--%5Bif+IE+7%5D%3E++++%3Chtml+lang%3D%22en-us%22+class%3D%22a-no-js+a-lt-ie9+a-lt-ie8%22%3E+%3C%21%5Bendif%5D--%3E%0A%3C%21--%5Bif+IE+8%5D%3E++++%3Chtml+lang%3D%22en-us%22+class%3D%22a-no-js+a-lt-ie9%22%3E+%3C%21%5Bendif%5D--%3E%0A%3C%21--%5Bif+gt+IE+8%5D%3E%3C%21--%3E%0A%3Chtml+class%3D%22a-no-js%22+lang%3D%22en-us%22%3E%3C%21--%3C%21%5Bendif%5D--%3E%3Chead%3E%0A%3Cmeta+http-equiv%3D%22content-type%22+content%3D%22text%2Fhtml%3B+charset%3DUTF-8%22%3E'
   21     1        INIT_FCALL                                               'strpos'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%3D%3D'
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   23     6        INIT_FCALL                                               'bin2hex'
          7        INIT_FCALL                                               'substr'
          8        SEND_VAR                                                 !0
          9        ADD                                              ~6      !1, 2
         10        SEND_VAL                                                 ~6
         11        SEND_VAL                                                 4
         12        DO_ICALL                                         $7      
         13        SEND_VAR                                                 $7
         14        DO_ICALL                                         $8      
         15        ECHO                                                     $8
   24    16      > EXIT                                                     0
   26    17*       INIT_FCALL                                               'explode'
         18*       SEND_VAL                                                 '%0D%0A%0D%0A'
         19*       SEND_VAR                                                 !0
         20*       DO_ICALL                                         $9      
         21*       ASSIGN                                                   !2, $9
   28    22*       BEGIN_SILENCE                                    ~11     
         23*       FETCH_DIM_R                                      ~12     !2, 1
         24*       END_SILENCE                                              ~11
         25*       ECHO                                                     ~12
   32    26*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.73 ms | 1396 KiB | 21 Q