3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.53 ms | 940 KiB | 18 Q