3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cha1 = array(0,1,2,3,4,5); $cha2 = array(4,6,2,8,3,1); $cha12_count = 0; $Ck_cha2 = $cha2; for($count1 = 0; $count1 < $cha1_count; $count1++){ for($count2 = 0; $count2 < $cha2_count; $count2++){ if($cha1[$count1] == $Ck_cha2[$count2]){ $Ck_cha2[$count2] = 'Ckeck'; $cha12_count++; break; } } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 6
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 8
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 6
Branch analysis from position: 22
Branch analysis from position: 6
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 8
Branch analysis from position: 19
Branch analysis from position: 8
filename:       /in/Y6Bub
function name:  (null)
number of ops:  23
compiled vars:  !0 = $cha1, !1 = $cha2, !2 = $cha12_count, !3 = $Ck_cha2, !4 = $count1, !5 = $count2, !6 = $cha2_count, !7 = $cha1_count
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, 0
    5     3        ASSIGN                                                   !3, !1
    6     4        ASSIGN                                                   !4, 0
          5      > JMP                                                      ->20
    7     6    >   ASSIGN                                                   !5, 0
          7      > JMP                                                      ->17
    8     8    >   FETCH_DIM_R                                      ~14     !0, !4
          9        FETCH_DIM_R                                      ~15     !3, !5
         10        IS_EQUAL                                                 ~14, ~15
         11      > JMPZ                                                     ~16, ->16
    9    12    >   ASSIGN_DIM                                               !3, !5
         13        OP_DATA                                                  'Ckeck'
   10    14        PRE_INC                                                  !2
   11    15      > JMP                                                      ->19
    7    16    >   PRE_INC                                                  !5
         17    >   IS_SMALLER                                               !5, !6
         18      > JMPNZ                                                    ~20, ->8
    6    19    >   PRE_INC                                                  !4
         20    >   IS_SMALLER                                               !4, !7
         21      > JMPNZ                                                    ~22, ->6
   15    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.9 ms | 1399 KiB | 13 Q