3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n=11;$m=50; echo "even no from $n and $m are:"; while($n<=$m) { if($n%2==0) { 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 = 9
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 9
Branch analysis from position: 18
Branch analysis from position: 9
Branch analysis from position: 14
filename:       /in/sjCW5
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
    3     2        ROPE_INIT                                     5  ~5      'even+no+from+'
          3        ROPE_ADD                                      1  ~5      ~5, !0
          4        ROPE_ADD                                      2  ~5      ~5, '+and+'
          5        ROPE_ADD                                      3  ~5      ~5, !1
          6        ROPE_END                                      4  ~4      ~5, '+are%3A'
          7        ECHO                                                     ~4
    4     8      > JMP                                                      ->16
    7     9    >   MOD                                              ~8      !0, 2
         10        IS_EQUAL                                                 ~8, 0
         11      > JMPZ                                                     ~9, ->14
   10    12    >   CONCAT                                           ~10     !0, '+'
         13        ECHO                                                     ~10
   12    14    >   ADD                                              ~11     !0, 1
         15        ASSIGN                                                   !0, ~11
    4    16    >   IS_SMALLER_OR_EQUAL                                      !0, !1
         17      > JMPNZ                                                    ~13, ->9
   14    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.87 ms | 1393 KiB | 13 Q