3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! for ($i=0; i< 10 ; $i++) { define('TEST'.$i,$i); } echo TEST4;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
Branch analysis from position: 2
filename:       /in/aj1v7
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->8
    7     2    >   INIT_FCALL                                               'define'
          3        CONCAT                                           ~2      'TEST', !0
          4        SEND_VAL                                                 ~2
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    4     7        PRE_INC                                                  !0
          8    >   FETCH_CONSTANT                                   ~5      'i'
          9        IS_SMALLER                                               ~5, 10
         10      > JMPNZ                                                    ~6, ->2
   12    11    >   FETCH_CONSTANT                                   ~7      'TEST4'
         12        ECHO                                                     ~7
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.78 ms | 1394 KiB | 15 Q