3v4l.org

run code in 300+ PHP versions simultaneously
<?php $request_headers = null; if ($http_method == "POST" && @strstr($request_headers["Content-Type"], "application/x-www-form-urlencoded") ) { echo 'in here'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 11
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 11
filename:       /in/Xh45C
function name:  (null)
number of ops:  14
compiled vars:  !0 = $request_headers, !1 = $http_method
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    5     1        IS_EQUAL                                         ~3      !1, 'POST'
          2      > JMPZ_EX                                          ~3      ~3, ->11
    6     3    >   BEGIN_SILENCE                                    ~4      
          4        INIT_FCALL                                               'strstr'
          5        FETCH_DIM_R                                      ~5      !0, 'Content-Type'
          6        SEND_VAL                                                 ~5
    7     7        SEND_VAL                                                 'application%2Fx-www-form-urlencoded'
          8        DO_ICALL                                         $6      
          9        END_SILENCE                                              ~4
         10        BOOL                                             ~3      $6
         11    > > JMPZ                                                     ~3, ->13
    9    12    >   ECHO                                                     'in+here'
   10    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.35 ms | 1394 KiB | 15 Q