3v4l.org

run code in 300+ PHP versions simultaneously
<?php $actions = array(); //some code for($x=425; $x<725; ++$x){ $actions[$x] = function(){ echo 'this is action 425 to 724'; // etc etc.. }; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
Branch analysis from position: 3
filename:       /in/5bpIL
function name:  (null)
number of ops:  10
compiled vars:  !0 = $actions, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 425
          2      > JMP                                                      ->7
    6     3    >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F5bpIL%3A6%240'
          4        ASSIGN_DIM                                               !0, !1
    9     5        OP_DATA                                                  ~5
    5     6        PRE_INC                                                  !1
          7    >   IS_SMALLER                                               !1, 725
          8      > JMPNZ                                                    ~7, ->3
   10     9    > > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F5bpIL%3A6%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5bpIL
function name:  {closure}
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'this+is+action+425+to+724'
    9     1      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F5bpIL%3A6%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.12 ms | 1393 KiB | 13 Q