3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.25 ms | 1399 KiB | 21 Q