3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cha12 = array(); $cha1_count = 3; $cha2_count = 3; $cha12[0][0] = 3; $cha12[0][1] = 6; $cha12[0][2] = 2; $cha12[1][0] = 4; $cha12[1][1] = 5; $cha12[1][2] = 3; $cha12[2][0] = 2; $cha12[2][1] = 2; $cha12[2][2] = 8; $fcount = 0; $fcount_array = array(); for($count1=0;$count1<$cha1_count;$count1++){ for($count2=0;$count2<$cha2_count;$count2++){ if($fcount == 0){ $fcount_array[$fcount] = $cha12[$count1][$count2]; $fcount++; } else { /* for($fc=0;$fc<$fcount;$fc++){ if($fcount_array[$fc] == $cha12[$count1][$count2]) continue 2; } $fcount_array[$fcount] = $cha12[$count1][$count2]; $fcount++;*/ } } } //print_r($fcount_array); echo "kk"; //$cm: cha1とcha2の短い方の値 //$nc: 現在足している要素の数 //$sum: 合計 /*function loop($cm,$nc){ if($nc > $cm){ $sum = -1; } else { */ ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 48
Branch analysis from position: 48
2 jumps found. (Code = 44) Position 1 = 50, Position 2 = 34
Branch analysis from position: 50
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
1 jumps found. (Code = 42) Position 1 = 45
Branch analysis from position: 45
2 jumps found. (Code = 44) Position 1 = 47, Position 2 = 36
Branch analysis from position: 47
2 jumps found. (Code = 44) Position 1 = 50, Position 2 = 34
Branch analysis from position: 50
Branch analysis from position: 34
Branch analysis from position: 36
2 jumps found. (Code = 43) Position 1 = 38, Position 2 = 44
Branch analysis from position: 38
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
2 jumps found. (Code = 44) Position 1 = 47, Position 2 = 36
Branch analysis from position: 47
Branch analysis from position: 36
Branch analysis from position: 44
filename:       /in/oJuU5
function name:  (null)
number of ops:  52
compiled vars:  !0 = $cha12, !1 = $cha1_count, !2 = $cha2_count, !3 = $fcount, !4 = $fcount_array, !5 = $count1, !6 = $count2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 3
    4     2        ASSIGN                                                   !2, 3
    5     3        FETCH_DIM_W                                      $10     !0, 0
          4        ASSIGN_DIM                                               $10, 0
          5        OP_DATA                                                  3
    6     6        FETCH_DIM_W                                      $12     !0, 0
          7        ASSIGN_DIM                                               $12, 1
          8        OP_DATA                                                  6
    7     9        FETCH_DIM_W                                      $14     !0, 0
         10        ASSIGN_DIM                                               $14, 2
         11        OP_DATA                                                  2
    8    12        FETCH_DIM_W                                      $16     !0, 1
         13        ASSIGN_DIM                                               $16, 0
         14        OP_DATA                                                  4
    9    15        FETCH_DIM_W                                      $18     !0, 1
         16        ASSIGN_DIM                                               $18, 1
         17        OP_DATA                                                  5
   10    18        FETCH_DIM_W                                      $20     !0, 1
         19        ASSIGN_DIM                                               $20, 2
         20        OP_DATA                                                  3
   11    21        FETCH_DIM_W                                      $22     !0, 2
         22        ASSIGN_DIM                                               $22, 0
         23        OP_DATA                                                  2
   12    24        FETCH_DIM_W                                      $24     !0, 2
         25        ASSIGN_DIM                                               $24, 1
         26        OP_DATA                                                  2
   13    27        FETCH_DIM_W                                      $26     !0, 2
         28        ASSIGN_DIM                                               $26, 2
         29        OP_DATA                                                  8
   14    30        ASSIGN                                                   !3, 0
   15    31        ASSIGN                                                   !4, <array>
   16    32        ASSIGN                                                   !5, 0
         33      > JMP                                                      ->48
   17    34    >   ASSIGN                                                   !6, 0
         35      > JMP                                                      ->45
   18    36    >   IS_EQUAL                                                 !3, 0
         37      > JMPZ                                                     ~32, ->44
   19    38    >   FETCH_DIM_R                                      ~34     !0, !5
         39        FETCH_DIM_R                                      ~35     ~34, !6
         40        ASSIGN_DIM                                               !4, !3
         41        OP_DATA                                                  ~35
   20    42        PRE_INC                                                  !3
         43      > JMP                                                      ->44
   17    44    >   PRE_INC                                                  !6
         45    >   IS_SMALLER                                               !6, !2
         46      > JMPNZ                                                    ~38, ->36
   16    47    >   PRE_INC                                                  !5
         48    >   IS_SMALLER                                               !5, !1
         49      > JMPNZ                                                    ~40, ->34
   33    50    >   ECHO                                                     'kk'
   44    51      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.61 ms | 1390 KiB | 13 Q