3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n=11;$m=50; while($n<=$m) { if($n%2==0) { echo "even no from $n and $m are:"; echo $n.' '; } $n=$n+1; } ?>
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 = 18, Position 2 = 3
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
Branch analysis from position: 3
Branch analysis from position: 14
filename:       /in/L5L2T
function name:  (null)
number of ops:  19
compiled vars:  !0 = $n, !1 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 11
          1        ASSIGN                                                   !1, 50
    4     2      > JMP                                                      ->16
    6     3    >   MOD                                              ~4      !0, 2
          4        IS_EQUAL                                                 ~4, 0
          5      > JMPZ                                                     ~5, ->14
    8     6    >   ROPE_INIT                                     5  ~7      'even+no+from+'
          7        ROPE_ADD                                      1  ~7      ~7, !0
          8        ROPE_ADD                                      2  ~7      ~7, '+and+'
          9        ROPE_ADD                                      3  ~7      ~7, !1
         10        ROPE_END                                      4  ~6      ~7, '+are%3A'
         11        ECHO                                                     ~6
    9    12        CONCAT                                           ~10     !0, '+'
         13        ECHO                                                     ~10
   11    14    >   ADD                                              ~11     !0, 1
         15        ASSIGN                                                   !0, ~11
    4    16    >   IS_SMALLER_OR_EQUAL                                      !0, !1
         17      > JMPNZ                                                    ~13, ->3
   13    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.93 ms | 1394 KiB | 13 Q