3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.39 ms | 1395 KiB | 13 Q