3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arra = array('one', 'two', 'five', 'seven'); $arrb = array('black', 'white', 'gold', 'silver'); $result = array_combine($arra, $arrb); foreach($result as $key=>$value){ ${$key} = $value; } echo $two; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/VPNQh
function name:  (null)
number of ops:  16
compiled vars:  !0 = $arra, !1 = $arrb, !2 = $result, !3 = $value, !4 = $key, !5 = $two
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'array_combine'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $8      
          6        ASSIGN                                                   !2, $8
    5     7      > FE_RESET_R                                       $10     !2, ->13
          8    > > FE_FETCH_R                                       ~11     $10, !3, ->13
          9    >   ASSIGN                                                   !4, ~11
    6    10        FETCH_W                      local               $13     !4
         11        ASSIGN                                                   $13, !3
    5    12      > JMP                                                      ->8
         13    >   FE_FREE                                                  $10
    8    14        ECHO                                                     !5
    9    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.62 ms | 1395 KiB | 15 Q