3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SBWko
function name:  (null)
number of ops:  46
compiled vars:  !0 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ASSIGN                                                   !0, '%3Cscript%3E%0AHZ.productVariation.Manager.setSpaceId%28%2733503761%27%29%3B%0AHZ.data.Variations.put%28%2733503761%27%2C+%7B%22availVar%22%3A+%5B%7B%22id%22%3A+%22c%22%2C+%22label%22%3A+%22Color%22%2C+%22options%22%3A+%5B%7B%22name%22%3A+%22Chrome%22%2C+%22avail%22%3A+1%2C+%22stock%22%3A+1%2C+%22price%22%3A+%22%24174.51%22%2C+%22quantity%22%3A+%2252%22%2C+%22imageId%22%3A+%223eb1230d05775d3c%22%7D%2C+%7B%22name%22%3A+%22SuperSteel%22%2C+%22avail%22%3A+1%2C+%22stock%22%3A+0%2C+%22price%22%3A+%22%24341.40%22%2C+%22quantity%22%3A+%220%22%2C+%22imageId%22%3A+%22d0a126f505775d3e%22%7D%5D%7D%5D%2C+%22curVar%22%3A+%7B%22c%22%3A+%22SuperSteel%22%7D%2C+%22exactMatch%22%3A+true%7D%29%3B%0AHZ.productVariation.Manager.setSelector%28HZ.productVariation.ListSelector%29%3B%0AHZ.productVariation.Manager.setRenderer%28HZ.productVariation.ViewSpaceRenderer%29%3B%0AHZ.productVariation.Manager.setHistoryManager%28new+HZ.productVariation.BrowserHistoryManager%28%22replace%22%29%29%3B%0A%24%28%27.variationSelectors%27%29.append%28HZ.productVariation.Manager.drawSelectors%28%2733503761%27%29%29%3B%0A%0AHZ.productVariation.Manager.initUI%28%29%3B%0A%3C%2Fscript%3E'
   25     1        ECHO                                                     'avail+%3D%3E+'
   26     2        INIT_FCALL                                               'var_export'
          3        INIT_FCALL                                               'extractcolumndata'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 'avail'
          6        DO_FCALL                                      0  $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
   27     9        ECHO                                                     '%0A----%0A'
   28    10        ECHO                                                     'stock+%3D%3E+'
   29    11        INIT_FCALL                                               'var_export'
         12        INIT_FCALL                                               'extractcolumndata'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 'stock'
         15        DO_FCALL                                      0  $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
   30    18        ECHO                                                     '%0A----%0A'
   31    19        ECHO                                                     'price+%3D%3E+'
   32    20        INIT_FCALL                                               'var_export'
         21        INIT_FCALL                                               'extractcolumndata'
         22        SEND_VAR                                                 !0
         23        SEND_VAL                                                 'price'
         24        DO_FCALL                                      0  $6      
         25        SEND_VAR                                                 $6
         26        DO_ICALL                                                 
   33    27        ECHO                                                     '%0A----%0A'
   34    28        ECHO                                                     'quantity+%3D%3E+'
   35    29        INIT_FCALL                                               'var_export'
         30        INIT_FCALL                                               'extractcolumndata'
         31        SEND_VAR                                                 !0
         32        SEND_VAL                                                 'quantity'
         33        DO_FCALL                                      0  $8      
         34        SEND_VAR                                                 $8
         35        DO_ICALL                                                 
   36    36        ECHO                                                     '%0A----%0A'
   37    37        ECHO                                                     'imageId+%3D%3E+'
   38    38        INIT_FCALL                                               'var_export'
         39        INIT_FCALL                                               'extractcolumndata'
         40        SEND_VAR                                                 !0
         41        SEND_VAL                                                 'imageId'
         42        DO_FCALL                                      0  $10     
         43        SEND_VAR                                                 $10
         44        DO_ICALL                                                 
         45      > RETURN                                                   1

Function extractcolumndata:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 46) Position 1 = 20, Position 2 = 24
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 26
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
filename:       /in/SBWko
function name:  extractColumnData
number of ops:  43
compiled vars:  !0 = $html, !1 = $key, !2 = $out, !3 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    3     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%7E%5C.put%5C%28%27%5Cd%2B%27%2C%5Cs%2B%28.%2B%3F%29%5C%29%3B%7E'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !2
          6        DO_ICALL                                         $4      
          7        BOOL_NOT                                         ~5      $4
          8      > JMPZ                                                     ~5, ->10
    4     9    > > RETURN                                                   'alert+yourself+of+the+preg_match+failure'
    6    10    >   BEGIN_SILENCE                                    ~6      
         11        INIT_FCALL                                               'json_decode'
         12        FETCH_DIM_R                                      ~7      !2, 1
         13        SEND_VAL                                                 ~7
         14        SEND_VAL                                                 <true>
         15        DO_ICALL                                         $8      
         16        END_SILENCE                                              ~6
         17        ASSIGN                                           ~9      !3, $8
         18        TYPE_CHECK                                    2  ~10     ~9
         19      > JMPZ_EX                                          ~10     ~10, ->24
         20    >   INIT_FCALL                                               'json_last_error'
         21        DO_ICALL                                         $11     
         22        IS_NOT_IDENTICAL                                 ~12     $11, 0
         23        BOOL                                             ~10     ~12
         24    > > JMPZ                                                     ~10, ->26
    7    25    > > RETURN                                                   'alert+yourself+of+the+json+decode+failure'
    9    26    >   INIT_FCALL                                               'array_column'
         27        INIT_FCALL                                               'current'
         28        INIT_FCALL                                               'array_column'
         29        INIT_FCALL                                               'current'
         30        SEND_VAR                                                 !3
         31        DO_ICALL                                         $13     
         32        SEND_VAR                                                 $13
         33        SEND_VAL                                                 'options'
         34        DO_ICALL                                         $14     
         35        SEND_VAR                                                 $14
         36        DO_ICALL                                         $15     
         37        SEND_VAR                                                 $15
         38        SEND_VAR                                                 !1
         39        SEND_VAL                                                 'name'
         40        DO_ICALL                                         $16     
         41      > RETURN                                                   $16
   10    42*     > RETURN                                                   null

End of function extractcolumndata

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
230.71 ms | 983 KiB | 24 Q