3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matchVal = array(); $nowScore = 1; $matchVal[$nowScore] = array(); $matchVal[$nowScore][] = 56; $matchVal[$nowScore][] = 78; $nowScore = 4; $matchVal[$nowScore] = array(); $matchVal[$nowScore][] = 156; $matchVal[$nowScore][] = 178; ksort($matchVal); foreach($matchVal as $key => $val) { print($key." --> ".$val); } php?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 23, Position 2 = 29
Branch analysis from position: 23
2 jumps found. (Code = 78) Position 1 = 24, Position 2 = 29
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
filename:       /in/u8u8p
function name:  (null)
number of ops:  33
compiled vars:  !0 = $matchVal, !1 = $nowScore, !2 = $val, !3 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 1
    4     2        ASSIGN_DIM                                               !0, !1
          3        OP_DATA                                                  <array>
    5     4        FETCH_DIM_W                                      $7      !0, !1
          5        ASSIGN_DIM                                               $7
          6        OP_DATA                                                  56
    6     7        FETCH_DIM_W                                      $9      !0, !1
          8        ASSIGN_DIM                                               $9
          9        OP_DATA                                                  78
    7    10        ASSIGN                                                   !1, 4
    8    11        ASSIGN_DIM                                               !0, !1
         12        OP_DATA                                                  <array>
    9    13        FETCH_DIM_W                                      $13     !0, !1
         14        ASSIGN_DIM                                               $13
         15        OP_DATA                                                  156
   10    16        FETCH_DIM_W                                      $15     !0, !1
         17        ASSIGN_DIM                                               $15
         18        OP_DATA                                                  178
   11    19        INIT_FCALL                                               'ksort'
         20        SEND_REF                                                 !0
         21        DO_ICALL                                                 
   13    22      > FE_RESET_R                                       $18     !0, ->29
         23    > > FE_FETCH_R                                       ~19     $18, !2, ->29
         24    >   ASSIGN                                                   !3, ~19
   15    25        CONCAT                                           ~21     !3, '+--%3E+'
         26        CONCAT                                           ~22     ~21, !2
         27        ECHO                                                     ~22
   13    28      > JMP                                                      ->23
         29    >   FE_FREE                                                  $18
   17    30        FETCH_CONSTANT                                   ~23     'php'
         31        FREE                                                     ~23
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.66 ms | 1396 KiB | 15 Q