3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
154.71 ms | 2121 KiB | 13 Q