3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getCurrenciesNames() { $currencies = [ 0 => ['combname' => 'uds'], 1 => ['combname' => 'uds'], 2 => ['combname' => 'uds'], 3 => ['combname' => 'uds'], 4 => ['combname' => 'uds'], ]; foreach ($currencies as $id => $currency) { $utfNames[$id] = $currency['combname']; } return $utfNames; } getCurrenciesNames();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jL8eb
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   INIT_FCALL                                               'getcurrenciesnames'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function getcurrenciesnames:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 8
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 8
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/jL8eb
function name:  getCurrenciesNames
number of ops:  11
compiled vars:  !0 = $currencies, !1 = $currency, !2 = $id, !3 = $utfNames
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
   12     1      > FE_RESET_R                                       $5      !0, ->8
          2    > > FE_FETCH_R                                       ~6      $5, !1, ->8
          3    >   ASSIGN                                                   !2, ~6
   13     4        FETCH_DIM_R                                      ~9      !1, 'combname'
          5        ASSIGN_DIM                                               !3, !2
          6        OP_DATA                                                  ~9
   12     7      > JMP                                                      ->2
          8    >   FE_FREE                                                  $5
   16     9      > RETURN                                                   !3
   17    10*     > RETURN                                                   null

End of function getcurrenciesnames

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.53 ms | 1389 KiB | 14 Q