3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = array(); foreach ($numbers as $number) { $result[] = $number * 10; } return $result;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 7
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/8adv7
function name:  (null)
number of ops:  10
compiled vars:  !0 = $result, !1 = $numbers, !2 = $number
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1      > FE_RESET_R                                       $4      !1, ->7
          2    > > FE_FETCH_R                                               $4, !2, ->7
    5     3    >   MUL                                              ~6      !2, 10
          4        ASSIGN_DIM                                               !0
          5        OP_DATA                                                  ~6
    4     6      > JMP                                                      ->2
          7    >   FE_FREE                                                  $4
    7     8      > RETURN                                                   !0
          9*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.51 ms | 1393 KiB | 13 Q