3v4l.org

run code in 300+ PHP versions simultaneously
<?php $naam1 = "baa"; $naam2 = "bdd"; $naam3 = "hes"; $c= 0; if($naam1 == $naam2){ $c++; } if($naam2 == $naam3){ $c++; } if($naam1 == $naam3){ $c++; } if($naam2 == $naam1){ $c++; } if($c == 0){ echo "Verschillend"; }elseif($c >='1'){ echo "Komt {$c} keer voor"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
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 = 12, Position 2 = 13
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 26
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
Branch analysis from position: 16
Branch analysis from position: 13
Branch analysis from position: 10
Branch analysis from position: 7
filename:       /in/k41bk
function name:  (null)
number of ops:  27
compiled vars:  !0 = $naam1, !1 = $naam2, !2 = $naam3, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'baa'
    4     1        ASSIGN                                                   !1, 'bdd'
    5     2        ASSIGN                                                   !2, 'hes'
    7     3        ASSIGN                                                   !3, 0
    9     4        IS_EQUAL                                                 !0, !1
          5      > JMPZ                                                     ~8, ->7
   10     6    >   PRE_INC                                                  !3
   12     7    >   IS_EQUAL                                                 !1, !2
          8      > JMPZ                                                     ~10, ->10
   13     9    >   PRE_INC                                                  !3
   15    10    >   IS_EQUAL                                                 !0, !2
         11      > JMPZ                                                     ~12, ->13
   16    12    >   PRE_INC                                                  !3
   18    13    >   IS_EQUAL                                                 !1, !0
         14      > JMPZ                                                     ~14, ->16
   19    15    >   PRE_INC                                                  !3
   22    16    >   IS_EQUAL                                                 !3, 0
         17      > JMPZ                                                     ~16, ->20
   23    18    >   ECHO                                                     'Verschillend'
         19      > JMP                                                      ->26
   24    20    >   IS_SMALLER_OR_EQUAL                                      '1', !3
         21      > JMPZ                                                     ~17, ->26
   25    22    >   ROPE_INIT                                     3  ~19     'Komt+'
         23        ROPE_ADD                                      1  ~19     ~19, !3
         24        ROPE_END                                      2  ~18     ~19, '+keer+voor'
         25        ECHO                                                     ~18
   27    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.59 ms | 1395 KiB | 13 Q