3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; for ($i = 1; $i <= 100; $i++) { //if( !($i % 2)) continue; echo ($i%2)."\n"; $a++; } echo "a is $a";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 3
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 3
Branch analysis from position: 10
Branch analysis from position: 3
filename:       /in/TQ4FC
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    4     1        ASSIGN                                                   !1, 1
          2      > JMP                                                      ->8
    6     3    >   MOD                                              ~4      !1, 2
          4        CONCAT                                           ~5      ~4, '%0A'
          5        ECHO                                                     ~5
    7     6        PRE_INC                                                  !0
    4     7        PRE_INC                                                  !1
          8    >   IS_SMALLER_OR_EQUAL                                      !1, 100
          9      > JMPNZ                                                    ~8, ->3
    9    10    >   NOP                                                      
         11        FAST_CONCAT                                      ~9      'a+is+', !0
         12        ECHO                                                     ~9
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.43 ms | 1393 KiB | 13 Q