3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.15 ms | 1395 KiB | 13 Q