3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = array(); $rE['idsubevento']=1921; if($rE['idsubevento']==1921){ if($rE['p19']=='SI') $ventas++; if($rE['p20']=='SI') $ventas++; if($rE['p21']=='SI') $ventas++; } echo $ventas;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 18
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 18
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 14
Branch analysis from position: 10
Branch analysis from position: 18
filename:       /in/WHOgF
function name:  (null)
number of ops:  20
compiled vars:  !0 = $re, !1 = $rE, !2 = $ventas
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !1, 'idsubevento'
          2        OP_DATA                                                  1921
    4     3        FETCH_DIM_R                                      ~5      !1, 'idsubevento'
          4        IS_EQUAL                                                 ~5, 1921
          5      > JMPZ                                                     ~6, ->18
    5     6    >   FETCH_DIM_R                                      ~7      !1, 'p19'
          7        IS_EQUAL                                                 ~7, 'SI'
          8      > JMPZ                                                     ~8, ->10
          9    >   PRE_INC                                                  !2
    6    10    >   FETCH_DIM_R                                      ~10     !1, 'p20'
         11        IS_EQUAL                                                 ~10, 'SI'
         12      > JMPZ                                                     ~11, ->14
         13    >   PRE_INC                                                  !2
    7    14    >   FETCH_DIM_R                                      ~13     !1, 'p21'
         15        IS_EQUAL                                                 ~13, 'SI'
         16      > JMPZ                                                     ~14, ->18
         17    >   PRE_INC                                                  !2
   10    18    >   ECHO                                                     !2
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.02 ms | 1394 KiB | 13 Q