3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(isset($_GET['action'])){ if ($_GET['action']=='empty'){ $url="index.php"; if(isset($_SESSION['cart'])){ echo "<h1>Emptying Cart</h1>"; unset($_SESSION['cart']); goto endoption; } goto endoption; } if($_GET['action']=='imgremove'){ $url="index.php?page=cart"; foreach($_SESSION['cart'] as $key=>$value){ foreach($value as $subkey=>$subvalue){ if($subvalue==$_GET['pic']){ unset($_SESSION['cart'][$key]); if(count($_SESSION['cart'])=='0'){ unset($_SESSION['cart']); } goto endoption; } } } } if($_GET['action']=='itemremove'){ $url="index.php?page=cart"; foreach($_SESSION['cart'] as $key=>$value){ foreach($value as $subkey=>$subvalue){ if($subvalue==$_GET['pic']){ foreach($_SESSION['cart'][$key]['details'] as $dkey => $dvalue){ foreach($dvalue as $detail){ if($detail==$_GET['option']){ unset($_SESSION['cart'][$key]['details'][$dkey]); if(count($_SESSION['cart'][$key]['details'])=='0'){ unset($_SESSION['cart'][$key]); } if(count($_SESSION['cart'])=='0'){ unset($_SESSION['cart']); } goto endoption; } } } } } } } } else{ if($_GET['currentpage']=='cart'){ $url="index.php?page=cart"; } else{ $url="index.php?page=".$_GET['currentpage']."&location=".$_GET['location']."&venue=".$_GET['venue']."&session=".$_GET['session']."&pic=".$_GET['pic']; } if (!isset($_SESSION['cart'])) { $_SESSION['cart'][] = array( "pic" => $_POST['pic'], "details" => [] ); $_SESSION['cart'][0]['details'][]= array( "option" => $_POST['option'], "quantity" => $_POST['quantity'] ); goto endoption; } else{ foreach($_SESSION['cart'] as $key=>$value){ foreach($value as $subkey=>$subvalue){ if($subvalue==$_POST['pic']){ foreach($_SESSION['cart'][$key]['details'] as $dkey => $dvalue){ foreach($dvalue as $detail){ if($detail==$_POST['option']){ if($_POST['quantity']=='0'){ unset($_SESSION['cart'][$key]['details'][$dkey]); if(count($_SESSION['cart'][$key]['details'])=='0'){ unset($_SESSION['cart'][$key]); if(count($_SESSION['cart'])=='0'){ unset($_SESSION['cart']); } } goto endoption; } else{ $_SESSION['cart'][$key]['details'][$dkey]['quantity']=$_POST['quantity']; goto endoption; } } } } $_SESSION['cart'][$key]['details'][]=array( "option"=> $_POST['option'], "quantity" => $_POST['quantity'] ); goto endoption; } } } $_SESSION['cart'][] = array( "pic" => $_POST['pic'], "details" => [] ); foreach($_SESSION['cart'] as $key=>$value){ foreach($value as $subkey=>$subvalue){ if($subvalue==$_POST['pic']){ $_SESSION['cart'][$key]['details'][]= array( "option" => $_POST['option'], "quantity" => $_POST['quantity'] ); } } } goto endoption; } } endoption: header("Location: $url"); die();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 116
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 16
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 50
Branch analysis from position: 20
2 jumps found. (Code = 77) Position 1 = 24, Position 2 = 49
Branch analysis from position: 24
2 jumps found. (Code = 78) Position 1 = 25, Position 2 = 49
Branch analysis from position: 25
2 jumps found. (Code = 77) Position 1 = 27, Position 2 = 47
Branch analysis from position: 27
2 jumps found. (Code = 78) Position 1 = 28, Position 2 = 47
Branch analysis from position: 28
2 jumps found. (Code = 43) Position 1 = 33, Position 2 = 46
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 43
Branch analysis from position: 41
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
Branch analysis from position: 43
Branch analysis from position: 46
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
Branch analysis from position: 47
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
Branch analysis from position: 47
Branch analysis from position: 49
2 jumps found. (Code = 43) Position 1 = 54, Position 2 = 115
Branch analysis from position: 54
2 jumps found. (Code = 77) Position 1 = 58, Position 2 = 114
Branch analysis from position: 58
2 jumps found. (Code = 78) Position 1 = 59, Position 2 = 114
Branch analysis from position: 59
2 jumps found. (Code = 77) Position 1 = 61, Position 2 = 112
Branch analysis from position: 61
2 jumps found. (Code = 78) Position 1 = 62, Position 2 = 112
Branch analysis from position: 62
2 jumps found. (Code = 43) Position 1 = 67, Position 2 = 111
Branch analysis from position: 67
2 jumps found. (Code = 77) Position 1 = 72, Position 2 = 110
Branch analysis from position: 72
2 jumps found. (Code = 78) Position 1 = 73, Position 2 = 110
Branch analysis from position: 73
2 jumps found. (Code = 77) Position 1 = 75, Position 2 = 108
Branch analysis from position: 75
2 jumps found. (Code = 78) Position 1 = 76, Position 2 = 108
Branch analysis from position: 76
2 jumps found. (Code = 43) Position 1 = 80, Position 2 = 107
Branch analysis from position: 80
2 jumps found. (Code = 43) Position 1 = 92, Position 2 = 95
Branch analysis from position: 92
2 jumps found. (Code = 43) Position 1 = 100, Position 2 = 102
Branch analysis from position: 100
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
Branch analysis from position: 102
Branch analysis from position: 95
Branch analysis from position: 107
1 jumps found. (Code = 42) Position 1 = 75
Branch analysis from position: 75
Branch analysis from position: 108
1 jumps found. (Code = 42) Position 1 = 72
Branch analysis from position: 72
Branch analysis from position: 108
Branch analysis from position: 110
1 jumps found. (Code = 42) Position 1 = 61
Branch analysis from position: 61
Branch analysis from position: 110
Branch analysis from position: 111
Branch analysis from position: 112
1 jumps found. (Code = 42) Position 1 = 58
Branch analysis from position: 58
Branch analysis from position: 112
Branch analysis from position: 114
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
Branch analysis from position: 114
Branch analysis from position: 115
Branch analysis from position: 49
Branch analysis from position: 50
Branch analysis from position: 116
2 jumps found. (Code = 43) Position 1 = 120, Position 2 = 122
Branch analysis from position: 120
1 jumps found. (Code = 42) Position 1 = 142
Branch analysis from position: 142
2 jumps found. (Code = 43) Position 1 = 146, Position 2 = 168
Branch analysis from position: 146
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
Branch analysis from position: 168
2 jumps found. (Code = 77) Position 1 = 171, Position 2 = 261
Branch analysis from position: 171
2 jumps found. (Code = 78) Position 1 = 172, Position 2 = 261
Branch analysis from position: 172
2 jumps found. (Code = 77) Position 1 = 174, Position 2 = 259
Branch analysis from position: 174
2 jumps found. (Code = 78) Position 1 = 175, Position 2 = 259
Branch analysis from position: 175
2 jumps found. (Code = 43) Position 1 = 180, Position 2 = 258
Branch analysis from position: 180
2 jumps found. (Code = 77) Position 1 = 185, Position 2 = 242
Branch analysis from position: 185
2 jumps found. (Code = 78) Position 1 = 186, Position 2 = 242
Branch analysis from position: 186
2 jumps found. (Code = 77) Position 1 = 188, Position 2 = 240
Branch analysis from position: 188
2 jumps found. (Code = 78) Position 1 = 189, Position 2 = 240
Branch analysis from position: 189
2 jumps found. (Code = 43) Position 1 = 193, Position 2 = 239
Branch analysis from position: 193
2 jumps found. (Code = 43) Position 1 = 197, Position 2 = 225
Branch analysis from position: 197
2 jumps found. (Code = 43) Position 1 = 209, Position 2 = 219
Branch analysis from position: 209
2 jumps found. (Code = 43) Position 1 = 217, Position 2 = 219
Branch analysis from position: 217
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
Branch analysis from position: 219
Branch analysis from position: 219
Branch analysis from position: 225
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
Branch analysis from position: 239
1 jumps found. (Code = 42) Position 1 = 188
Branch analysis from position: 188
Branch analysis from position: 240
1 jumps found. (Code = 42) Position 1 = 185
Branch analysis from position: 185
Branch analysis from position: 240
Branch analysis from position: 242
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
Branch analysis from position: 242
Branch analysis from position: 258
1 jumps found. (Code = 42) Position 1 = 174
Branch analysis from position: 174
Branch analysis from position: 259
1 jumps found. (Code = 42) Position 1 = 171
Branch analysis from position: 171
Branch analysis from position: 259
Branch analysis from position: 261
2 jumps found. (Code = 77) Position 1 = 273, Position 2 = 297
Branch analysis from position: 273
2 jumps found. (Code = 78) Position 1 = 274, Position 2 = 297
Branch analysis from position: 274
2 jumps found. (Code = 77) Position 1 = 276, Position 2 = 295
Branch analysis from position: 276
2 jumps found. (Code = 78) Position 1 = 277, Position 2 = 295
Branch analysis from position: 277
2 jumps found. (Code = 43) Position 1 = 282, Position 2 = 294
Branch analysis from position: 282
1 jumps found. (Code = 42) Position 1 = 276
Branch analysis from position: 276
Branch analysis from position: 294
Branch analysis from position: 295
1 jumps found. (Code = 42) Position 1 = 273
Branch analysis from position: 273
Branch analysis from position: 295
Branch analysis from position: 297
1 jumps found. (Code = 42) Position 1 = 299
Branch analysis from position: 299
Branch analysis from position: 297
Branch analysis from position: 261
Branch analysis from position: 122
2 jumps found. (Code = 43) Position 1 = 146, Position 2 = 168
Branch analysis from position: 146
Branch analysis from position: 168
filename:       /in/EIVeE
function name:  (null)
number of ops:  306
compiled vars:  !0 = $url, !1 = $value, !2 = $key, !3 = $subvalue, !4 = $subkey, !5 = $dvalue, !6 = $dkey, !7 = $detail
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_IS                                         ~8      '_GET'
          1        ISSET_ISEMPTY_DIM_OBJ                         0          ~8, 'action'
          2      > JMPZ                                                     ~9, ->116
    4     3    >   FETCH_R                      global              ~10     '_GET'
          4        FETCH_DIM_R                                      ~11     ~10, 'action'
          5        IS_EQUAL                                                 ~11, 'empty'
          6      > JMPZ                                                     ~12, ->16
    5     7    >   ASSIGN                                                   !0, 'index.php'
    6     8        FETCH_IS                                         ~14     '_SESSION'
          9        ISSET_ISEMPTY_DIM_OBJ                         0          ~14, 'cart'
         10      > JMPZ                                                     ~15, ->15
    7    11    >   ECHO                                                     '%3Ch1%3EEmptying+Cart%3C%2Fh1%3E'
    8    12        FETCH_UNSET                                      $16     '_SESSION'
         13        UNSET_DIM                                                $16, 'cart'
    9    14      > JMP                                                      ->299
   11    15    > > JMP                                                      ->299
   13    16    >   FETCH_R                      global              ~17     '_GET'
         17        FETCH_DIM_R                                      ~18     ~17, 'action'
         18        IS_EQUAL                                                 ~18, 'imgremove'
         19      > JMPZ                                                     ~19, ->50
   14    20    >   ASSIGN                                                   !0, 'index.php%3Fpage%3Dcart'
   15    21        FETCH_R                      global              ~21     '_SESSION'
         22        FETCH_DIM_R                                      ~22     ~21, 'cart'
         23      > FE_RESET_R                                       $23     ~22, ->49
         24    > > FE_FETCH_R                                       ~24     $23, !1, ->49
         25    >   ASSIGN                                                   !2, ~24
   16    26      > FE_RESET_R                                       $26     !1, ->47
         27    > > FE_FETCH_R                                       ~27     $26, !3, ->47
         28    >   ASSIGN                                                   !4, ~27
   17    29        FETCH_R                      global              ~29     '_GET'
         30        FETCH_DIM_R                                      ~30     ~29, 'pic'
         31        IS_EQUAL                                                 !3, ~30
         32      > JMPZ                                                     ~31, ->46
   18    33    >   FETCH_UNSET                                      $32     '_SESSION'
         34        FETCH_DIM_UNSET                                  $33     $32, 'cart'
         35        UNSET_DIM                                                $33, !2
   19    36        FETCH_R                      global              ~34     '_SESSION'
         37        FETCH_DIM_R                                      ~35     ~34, 'cart'
         38        COUNT                                            ~36     ~35
         39        IS_EQUAL                                                 ~36, '0'
         40      > JMPZ                                                     ~37, ->43
   20    41    >   FETCH_UNSET                                      $38     '_SESSION'
         42        UNSET_DIM                                                $38, 'cart'
   22    43    >   FE_FREE                                                  $26
         44        FE_FREE                                                  $23
         45      > JMP                                                      ->299
   16    46    > > JMP                                                      ->27
         47    >   FE_FREE                                                  $26
   15    48      > JMP                                                      ->24
         49    >   FE_FREE                                                  $23
   27    50    >   FETCH_R                      global              ~39     '_GET'
         51        FETCH_DIM_R                                      ~40     ~39, 'action'
         52        IS_EQUAL                                                 ~40, 'itemremove'
         53      > JMPZ                                                     ~41, ->115
   28    54    >   ASSIGN                                                   !0, 'index.php%3Fpage%3Dcart'
   29    55        FETCH_R                      global              ~43     '_SESSION'
         56        FETCH_DIM_R                                      ~44     ~43, 'cart'
         57      > FE_RESET_R                                       $45     ~44, ->114
         58    > > FE_FETCH_R                                       ~46     $45, !1, ->114
         59    >   ASSIGN                                                   !2, ~46
   30    60      > FE_RESET_R                                       $48     !1, ->112
         61    > > FE_FETCH_R                                       ~49     $48, !3, ->112
         62    >   ASSIGN                                                   !4, ~49
   31    63        FETCH_R                      global              ~51     '_GET'
         64        FETCH_DIM_R                                      ~52     ~51, 'pic'
         65        IS_EQUAL                                                 !3, ~52
         66      > JMPZ                                                     ~53, ->111
   32    67    >   FETCH_R                      global              ~54     '_SESSION'
         68        FETCH_DIM_R                                      ~55     ~54, 'cart'
         69        FETCH_DIM_R                                      ~56     ~55, !2
         70        FETCH_DIM_R                                      ~57     ~56, 'details'
         71      > FE_RESET_R                                       $58     ~57, ->110
         72    > > FE_FETCH_R                                       ~59     $58, !5, ->110
         73    >   ASSIGN                                                   !6, ~59
   33    74      > FE_RESET_R                                       $61     !5, ->108
         75    > > FE_FETCH_R                                               $61, !7, ->108
   34    76    >   FETCH_R                      global              ~62     '_GET'
         77        FETCH_DIM_R                                      ~63     ~62, 'option'
         78        IS_EQUAL                                                 !7, ~63
         79      > JMPZ                                                     ~64, ->107
   35    80    >   FETCH_UNSET                                      $65     '_SESSION'
         81        FETCH_DIM_UNSET                                  $66     $65, 'cart'
         82        FETCH_DIM_UNSET                                  $67     $66, !2
         83        FETCH_DIM_UNSET                                  $68     $67, 'details'
         84        UNSET_DIM                                                $68, !6
   37    85        FETCH_R                      global              ~69     '_SESSION'
         86        FETCH_DIM_R                                      ~70     ~69, 'cart'
         87        FETCH_DIM_R                                      ~71     ~70, !2
         88        FETCH_DIM_R                                      ~72     ~71, 'details'
         89        COUNT                                            ~73     ~72
         90        IS_EQUAL                                                 ~73, '0'
         91      > JMPZ                                                     ~74, ->95
   38    92    >   FETCH_UNSET                                      $75     '_SESSION'
         93        FETCH_DIM_UNSET                                  $76     $75, 'cart'
         94        UNSET_DIM                                                $76, !2
   40    95    >   FETCH_R                      global              ~77     '_SESSION'
         96        FETCH_DIM_R                                      ~78     ~77, 'cart'
         97        COUNT                                            ~79     ~78
         98        IS_EQUAL                                                 ~79, '0'
         99      > JMPZ                                                     ~80, ->102
   41   100    >   FETCH_UNSET                                      $81     '_SESSION'
        101        UNSET_DIM                                                $81, 'cart'
   43   102    >   FE_FREE                                                  $61
        103        FE_FREE                                                  $58
        104        FE_FREE                                                  $48
        105        FE_FREE                                                  $45
        106      > JMP                                                      ->299
   33   107    > > JMP                                                      ->75
        108    >   FE_FREE                                                  $61
   32   109      > JMP                                                      ->72
        110    >   FE_FREE                                                  $58
   30   111    > > JMP                                                      ->61
        112    >   FE_FREE                                                  $48
   29   113      > JMP                                                      ->58
        114    >   FE_FREE                                                  $45
        115    > > JMP                                                      ->299
   53   116    >   FETCH_R                      global              ~82     '_GET'
        117        FETCH_DIM_R                                      ~83     ~82, 'currentpage'
        118        IS_EQUAL                                                 ~83, 'cart'
        119      > JMPZ                                                     ~84, ->122
   54   120    >   ASSIGN                                                   !0, 'index.php%3Fpage%3Dcart'
        121      > JMP                                                      ->142
   57   122    >   FETCH_R                      global              ~86     '_GET'
        123        FETCH_DIM_R                                      ~87     ~86, 'currentpage'
        124        CONCAT                                           ~88     'index.php%3Fpage%3D', ~87
        125        CONCAT                                           ~89     ~88, '%26location%3D'
        126        FETCH_R                      global              ~90     '_GET'
        127        FETCH_DIM_R                                      ~91     ~90, 'location'
        128        CONCAT                                           ~92     ~89, ~91
        129        CONCAT                                           ~93     ~92, '%26venue%3D'
        130        FETCH_R                      global              ~94     '_GET'
        131        FETCH_DIM_R                                      ~95     ~94, 'venue'
        132        CONCAT                                           ~96     ~93, ~95
        133        CONCAT                                           ~97     ~96, '%26session%3D'
        134        FETCH_R                      global              ~98     '_GET'
        135        FETCH_DIM_R                                      ~99     ~98, 'session'
        136        CONCAT                                           ~100    ~97, ~99
        137        CONCAT                                           ~101    ~100, '%26pic%3D'
        138        FETCH_R                      global              ~102    '_GET'
        139        FETCH_DIM_R                                      ~103    ~102, 'pic'
        140        CONCAT                                           ~104    ~101, ~103
        141        ASSIGN                                                   !0, ~104
   59   142    >   FETCH_IS                                         ~106    '_SESSION'
        143        ISSET_ISEMPTY_DIM_OBJ                         0  ~107    ~106, 'cart'
        144        BOOL_NOT                                         ~108    ~107
        145      > JMPZ                                                     ~108, ->168
   61   146    >   FETCH_R                      global              ~112    '_POST'
        147        FETCH_DIM_R                                      ~113    ~112, 'pic'
        148        INIT_ARRAY                                       ~114    ~113, 'pic'
        149        ADD_ARRAY_ELEMENT                                ~114    <array>, 'details'
   60   150        FETCH_W                      global              $109    '_SESSION'
        151        FETCH_DIM_W                                      $110    $109, 'cart'
        152        ASSIGN_DIM                                               $110
   61   153        OP_DATA                                                  ~114
   65   154        FETCH_R                      global              ~120    '_POST'
        155        FETCH_DIM_R                                      ~121    ~120, 'option'
        156        INIT_ARRAY                                       ~122    ~121, 'option'
   66   157        FETCH_R                      global              ~123    '_POST'
        158        FETCH_DIM_R                                      ~124    ~123, 'quantity'
        159        ADD_ARRAY_ELEMENT                                ~122    ~124, 'quantity'
   64   160        FETCH_W                      global              $115    '_SESSION'
        161        FETCH_DIM_W                                      $116    $115, 'cart'
        162        FETCH_DIM_W                                      $117    $116, 0
        163        FETCH_DIM_W                                      $118    $117, 'details'
        164        ASSIGN_DIM                                               $118
   66   165        OP_DATA                                                  ~122
   68   166      > JMP                                                      ->299
        167*       JMP                                                      ->299
   71   168    >   FETCH_R                      global              ~125    '_SESSION'
        169        FETCH_DIM_R                                      ~126    ~125, 'cart'
        170      > FE_RESET_R                                       $127    ~126, ->261
        171    > > FE_FETCH_R                                       ~128    $127, !1, ->261
        172    >   ASSIGN                                                   !2, ~128
   72   173      > FE_RESET_R                                       $130    !1, ->259
        174    > > FE_FETCH_R                                       ~131    $130, !3, ->259
        175    >   ASSIGN                                                   !4, ~131
   73   176        FETCH_R                      global              ~133    '_POST'
        177        FETCH_DIM_R                                      ~134    ~133, 'pic'
        178        IS_EQUAL                                                 !3, ~134
        179      > JMPZ                                                     ~135, ->258
   74   180    >   FETCH_R                      global              ~136    '_SESSION'
        181        FETCH_DIM_R                                      ~137    ~136, 'cart'
        182        FETCH_DIM_R                                      ~138    ~137, !2
        183        FETCH_DIM_R                                      ~139    ~138, 'details'
        184      > FE_RESET_R                                       $140    ~139, ->242
        185    > > FE_FETCH_R                                       ~141    $140, !5, ->242
        186    >   ASSIGN                                                   !6, ~141
   75   187      > FE_RESET_R                                       $143    !5, ->240
        188    > > FE_FETCH_R                                               $143, !7, ->240
   76   189    >   FETCH_R                      global              ~144    '_POST'
        190        FETCH_DIM_R                                      ~145    ~144, 'option'
        191        IS_EQUAL                                                 !7, ~145
        192      > JMPZ                                                     ~146, ->239
   77   193    >   FETCH_R                      global              ~147    '_POST'
        194        FETCH_DIM_R                                      ~148    ~147, 'quantity'
        195        IS_EQUAL                                                 ~148, '0'
        196      > JMPZ                                                     ~149, ->225
   78   197    >   FETCH_UNSET                                      $150    '_SESSION'
        198        FETCH_DIM_UNSET                                  $151    $150, 'cart'
        199        FETCH_DIM_UNSET                                  $152    $151, !2
        200        FETCH_DIM_UNSET                                  $153    $152, 'details'
        201        UNSET_DIM                                                $153, !6
   79   202        FETCH_R                      global              ~154    '_SESSION'
        203        FETCH_DIM_R                                      ~155    ~154, 'cart'
        204        FETCH_DIM_R                                      ~156    ~155, !2
        205        FETCH_DIM_R                                      ~157    ~156, 'details'
        206        COUNT                                            ~158    ~157
        207        IS_EQUAL                                                 ~158, '0'
        208      > JMPZ                                                     ~159, ->219
   80   209    >   FETCH_UNSET                                      $160    '_SESSION'
        210        FETCH_DIM_UNSET                                  $161    $160, 'cart'
        211        UNSET_DIM                                                $161, !2
   81   212        FETCH_R                      global              ~162    '_SESSION'
        213        FETCH_DIM_R                                      ~163    ~162, 'cart'
        214        COUNT                                            ~164    ~163
        215        IS_EQUAL                                                 ~164, '0'
        216      > JMPZ                                                     ~165, ->219
   82   217    >   FETCH_UNSET                                      $166    '_SESSION'
        218        UNSET_DIM                                                $166, 'cart'
   85   219    >   FE_FREE                                                  $143
        220        FE_FREE                                                  $140
        221        FE_FREE                                                  $130
        222        FE_FREE                                                  $127
        223      > JMP                                                      ->299
        224*       JMP                                                      ->239
   88   225    >   FETCH_R                      global              ~173    '_POST'
        226        FETCH_DIM_R                                      ~174    ~173, 'quantity'
        227        FETCH_W                      global              $167    '_SESSION'
        228        FETCH_DIM_W                                      $168    $167, 'cart'
        229        FETCH_DIM_W                                      $169    $168, !2
        230        FETCH_DIM_W                                      $170    $169, 'details'
        231        FETCH_DIM_W                                      $171    $170, !6
        232        ASSIGN_DIM                                               $171, 'quantity'
        233        OP_DATA                                                  ~174
   89   234        FE_FREE                                                  $143
        235        FE_FREE                                                  $140
        236        FE_FREE                                                  $130
        237        FE_FREE                                                  $127
        238      > JMP                                                      ->299
   75   239    > > JMP                                                      ->188
        240    >   FE_FREE                                                  $143
   74   241      > JMP                                                      ->185
        242    >   FE_FREE                                                  $140
   95   243        FETCH_R                      global              ~180    '_POST'
        244        FETCH_DIM_R                                      ~181    ~180, 'option'
        245        INIT_ARRAY                                       ~182    ~181, 'option'
   96   246        FETCH_R                      global              ~183    '_POST'
        247        FETCH_DIM_R                                      ~184    ~183, 'quantity'
        248        ADD_ARRAY_ELEMENT                                ~182    ~184, 'quantity'
   94   249        FETCH_W                      global              $175    '_SESSION'
        250        FETCH_DIM_W                                      $176    $175, 'cart'
        251        FETCH_DIM_W                                      $177    $176, !2
        252        FETCH_DIM_W                                      $178    $177, 'details'
        253        ASSIGN_DIM                                               $178
   96   254        OP_DATA                                                  ~182
   98   255        FE_FREE                                                  $130
        256        FE_FREE                                                  $127
        257      > JMP                                                      ->299
   72   258    > > JMP                                                      ->174
        259    >   FE_FREE                                                  $130
   71   260      > JMP                                                      ->171
        261    >   FE_FREE                                                  $127
  103   262        FETCH_R                      global              ~188    '_POST'
        263        FETCH_DIM_R                                      ~189    ~188, 'pic'
        264        INIT_ARRAY                                       ~190    ~189, 'pic'
        265        ADD_ARRAY_ELEMENT                                ~190    <array>, 'details'
  102   266        FETCH_W                      global              $185    '_SESSION'
        267        FETCH_DIM_W                                      $186    $185, 'cart'
        268        ASSIGN_DIM                                               $186
  103   269        OP_DATA                                                  ~190
  107   270        FETCH_R                      global              ~191    '_SESSION'
        271        FETCH_DIM_R                                      ~192    ~191, 'cart'
        272      > FE_RESET_R                                       $193    ~192, ->297
        273    > > FE_FETCH_R                                       ~194    $193, !1, ->297
        274    >   ASSIGN                                                   !2, ~194
  108   275      > FE_RESET_R                                       $196    !1, ->295
        276    > > FE_FETCH_R                                       ~197    $196, !3, ->295
        277    >   ASSIGN                                                   !4, ~197
  109   278        FETCH_R                      global              ~199    '_POST'
        279        FETCH_DIM_R                                      ~200    ~199, 'pic'
        280        IS_EQUAL                                                 !3, ~200
        281      > JMPZ                                                     ~201, ->294
  111   282    >   FETCH_R                      global              ~207    '_POST'
        283        FETCH_DIM_R                                      ~208    ~207, 'option'
        284        INIT_ARRAY                                       ~209    ~208, 'option'
  112   285        FETCH_R                      global              ~210    '_POST'
        286        FETCH_DIM_R  

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.01 ms | 1431 KiB | 13 Q