3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 500; $i++) { $test = 'oui oui oui'; echo "$test haha $test haha $test"; }
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 = 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
Branch analysis from position: 2
filename:       /in/7VovS
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->10
    3     2    >   ASSIGN                                                   !1, 'oui+oui+oui'
    4     3        ROPE_INIT                                     5  ~5      !1
          4        ROPE_ADD                                      1  ~5      ~5, '+haha+'
          5        ROPE_ADD                                      2  ~5      ~5, !1
          6        ROPE_ADD                                      3  ~5      ~5, '+haha+'
          7        ROPE_END                                      4  ~4      ~5, !1
          8        ECHO                                                     ~4
    2     9        PRE_INC                                                  !0
         10    >   IS_SMALLER                                               !0, 500
         11      > JMPNZ                                                    ~9, ->2
    5    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.16 ms | 1393 KiB | 13 Q