3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Source: https://bugs.php.net/bug.php?id=62476 $test = 'Petře'; ob_start(); for ($i = 0; $i < 1e6; ++$i) echo "Ahoj {$test}."; ob_end_clean();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 5
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 5
Branch analysis from position: 12
Branch analysis from position: 5
filename:       /in/0tQLI
function name:  (null)
number of ops:  15
compiled vars:  !0 = $test, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'Pet%C5%99e'
    5     1        INIT_FCALL                                               'ob_start'
          2        DO_ICALL                                                 
    6     3        ASSIGN                                                   !1, 0
          4      > JMP                                                      ->10
    7     5    >   ROPE_INIT                                     3  ~6      'Ahoj+'
          6        ROPE_ADD                                      1  ~6      ~6, !0
          7        ROPE_END                                      2  ~5      ~6, '.'
          8        ECHO                                                     ~5
    6     9        PRE_INC                                                  !1
         10    >   IS_SMALLER                                               !1, 1.0e+6
         11      > JMPNZ                                                    ~9, ->5
    8    12    >   INIT_FCALL                                               'ob_end_clean'
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154 ms | 1394 KiB | 17 Q