3v4l.org

run code in 300+ PHP versions simultaneously
<?php $STOP = 5; $i = $j = 0; while($STOP-- > 0) { echo "i = $i ; j = $j\n"; if(($i++) &&( $j++)) { echo "2up\n"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
Branch analysis from position: 4
Branch analysis from position: 16
Branch analysis from position: 14
filename:       /in/Tv0Rj
function name:  (null)
number of ops:  20
compiled vars:  !0 = $STOP, !1 = $i, !2 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 5
    4     1        ASSIGN                                           ~4      !2, 0
          2        ASSIGN                                                   !1, ~4
    5     3      > JMP                                                      ->16
    7     4    >   ROPE_INIT                                     5  ~7      'i+%3D+'
          5        ROPE_ADD                                      1  ~7      ~7, !1
          6        ROPE_ADD                                      2  ~7      ~7, '+%3B+j+%3D+'
          7        ROPE_ADD                                      3  ~7      ~7, !2
          8        ROPE_END                                      4  ~6      ~7, '%0A'
          9        ECHO                                                     ~6
    9    10        POST_INC                                         ~10     !1
         11      > JMPZ_EX                                          ~10     ~10, ->14
         12    >   POST_INC                                         ~11     !2
         13        BOOL                                             ~10     ~11
         14    > > JMPZ                                                     ~10, ->16
   10    15    >   ECHO                                                     '2up%0A'
    5    16    >   POST_DEC                                         ~12     !0
         17        IS_SMALLER                                               0, ~12
         18      > JMPNZ                                                    ~13, ->4
   16    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.39 ms | 1394 KiB | 13 Q