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< 10000000 ; $i++) { define('TEST'.$i,$i*12); } echo TEST456;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
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/iTK63
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->9
    8     2    >   INIT_FCALL                                               'define'
          3        CONCAT                                           ~2      'TEST', !0
          4        SEND_VAL                                                 ~2
          5        MUL                                              ~3      !0, 12
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                                 
    5     8        PRE_INC                                                  !0
          9    >   IS_SMALLER                                               !0, 10000000
         10      > JMPNZ                                                    ~6, ->2
   15    11    >   FETCH_CONSTANT                                   ~7      'TEST456'
         12        ECHO                                                     ~7
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.92 ms | 1394 KiB | 15 Q