3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); for ($i = 0; $i < 10; $i++) { echo $i; } $output = ob_get_contents(); ob_end_clean(); echo $output; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 4
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 4
Branch analysis from position: 8
Branch analysis from position: 4
filename:       /in/4MktT
function name:  (null)
number of ops:  15
compiled vars:  !0 = $i, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    3     2        ASSIGN                                                   !0, 0
          3      > JMP                                                      ->6
    4     4    >   ECHO                                                     !0
    3     5        PRE_INC                                                  !0
          6    >   IS_SMALLER                                               !0, 10
          7      > JMPNZ                                                    ~5, ->4
    6     8    >   INIT_FCALL                                               'ob_get_contents'
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !1, $6
    7    11        INIT_FCALL                                               'ob_end_clean'
         12        DO_ICALL                                                 
    8    13        ECHO                                                     !1
    9    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.89 ms | 1394 KiB | 19 Q