3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 5000; $i++) { $test = 'oui oui oui'; $foo = "$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/B1t5L
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i, !1 = $test, !2 = $foo
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  ~6      !1
          4        ROPE_ADD                                      1  ~6      ~6, '+haha+'
          5        ROPE_ADD                                      2  ~6      ~6, !1
          6        ROPE_ADD                                      3  ~6      ~6, '+haha+'
          7        ROPE_END                                      4  ~5      ~6, !1
          8        ASSIGN                                                   !2, ~5
    2     9        PRE_INC                                                  !0
         10    >   IS_SMALLER                                               !0, 5000
         11      > JMPNZ                                                    ~11, ->2
    5    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.28 ms | 1397 KiB | 13 Q