3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v = array('1468', '1648', '1846'); $o = array('+-*','-+*','*+-'); foreach($v as $key=>$val) { foreach($o as $key2=>$op) { $str = $val[0].$op[0].$val[1].$op[1].$val[2].$op[2].$val[3]; eval($str); } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 26
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 26
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 24
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 24
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 24
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/jLnQX
function name:  (null)
number of ops:  28
compiled vars:  !0 = $v, !1 = $o, !2 = $val, !3 = $key, !4 = $op, !5 = $key2, !6 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2      > FE_RESET_R                                       $9      !0, ->26
          3    > > FE_FETCH_R                                       ~10     $9, !2, ->26
          4    >   ASSIGN                                                   !3, ~10
    7     5      > FE_RESET_R                                       $12     !1, ->24
          6    > > FE_FETCH_R                                       ~13     $12, !4, ->24
          7    >   ASSIGN                                                   !5, ~13
    9     8        FETCH_DIM_R                                      ~15     !2, 0
          9        FETCH_DIM_R                                      ~16     !4, 0
         10        CONCAT                                           ~17     ~15, ~16
         11        FETCH_DIM_R                                      ~18     !2, 1
         12        CONCAT                                           ~19     ~17, ~18
         13        FETCH_DIM_R                                      ~20     !4, 1
         14        CONCAT                                           ~21     ~19, ~20
         15        FETCH_DIM_R                                      ~22     !2, 2
         16        CONCAT                                           ~23     ~21, ~22
         17        FETCH_DIM_R                                      ~24     !4, 2
         18        CONCAT                                           ~25     ~23, ~24
         19        FETCH_DIM_R                                      ~26     !2, 3
         20        CONCAT                                           ~27     ~25, ~26
         21        ASSIGN                                                   !6, ~27
   10    22        INCLUDE_OR_EVAL                                          !6, EVAL
    7    23      > JMP                                                      ->6
         24    >   FE_FREE                                                  $12
    6    25      > JMP                                                      ->3
         26    >   FE_FREE                                                  $9
   15    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.22 ms | 1395 KiB | 13 Q