3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 0.1 * 10; $max = 200 * 10; for($i = 0; $i < $max; $i += $var) { printf("%.1f\n", $i / 10); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 4
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 4
Branch analysis from position: 12
Branch analysis from position: 4
filename:       /in/9lJgO
function name:  (null)
number of ops:  13
compiled vars:  !0 = $var, !1 = $max, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ASSIGN                                                   !1, 2000
    4     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->10
    5     4    >   INIT_FCALL                                               'printf'
          5        SEND_VAL                                                 '%25.1f%0A'
          6        DIV                                              ~6      !2, 10
          7        SEND_VAL                                                 ~6
          8        DO_ICALL                                                 
    4     9        ASSIGN_OP                                     1          !2, !0
         10    >   IS_SMALLER                                               !2, !1
         11      > JMPNZ                                                    ~9, ->4
    8    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.67 ms | 1394 KiB | 15 Q