3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 5, $product = 1; $i > 1; --$i) { echo $i . ' x '; $product *= $i; } echo $i . ' = ' . ($product * $i);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
Branch analysis from position: 3
filename:       /in/X6ZWu
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i, !1 = $product
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 5
          1        ASSIGN                                                   !1, 1
          2      > JMP                                                      ->7
    5     3    >   CONCAT                                           ~4      !0, '+x+'
          4        ECHO                                                     ~4
    6     5        ASSIGN_OP                                     3          !1, !0
    4     6        PRE_DEC                                                  !0
          7    >   IS_SMALLER                                               1, !0
          8      > JMPNZ                                                    ~7, ->3
    8     9    >   CONCAT                                           ~8      !0, '+%3D+'
         10        MUL                                              ~9      !1, !0
         11        CONCAT                                           ~10     ~8, ~9
         12        ECHO                                                     ~10
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.19 ms | 938 KiB | 14 Q