3v4l.org

run code in 300+ PHP versions simultaneously
<?php $counts = ['Type_1'=>1]; $vars = range('a', 'z'); foreach($counts as $key => $value){ ${array_shift($vars)} = $key . ' => ' . $value; };
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 17
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 17
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/JdAPd
function name:  (null)
number of ops:  19
compiled vars:  !0 = $counts, !1 = $vars, !2 = $value, !3 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    6     1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 'a'
          3        SEND_VAL                                                 'z'
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    8     6      > FE_RESET_R                                       $7      !0, ->17
          7    > > FE_FETCH_R                                       ~8      $7, !2, ->17
          8    >   ASSIGN                                                   !3, ~8
    9     9        INIT_FCALL                                               'array_shift'
         10        SEND_REF                                                 !1
         11        DO_ICALL                                         $10     
         12        CONCAT                                           ~12     !3, '+%3D%3E+'
         13        CONCAT                                           ~13     ~12, !2
         14        FETCH_W                      local               $11     $10
         15        ASSIGN                                                   $11, ~13
    8    16      > JMP                                                      ->7
         17    >   FE_FREE                                                  $7
   10    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.85 ms | 1395 KiB | 17 Q