3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.08 ms | 1393 KiB | 13 Q