3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = 0.30; do { $d = round($d - 0.01, 2); var_dump($d); } while ($d >= 0.00);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 1
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
filename:       /in/hZsBp
function name:  (null)
number of ops:  13
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0.3
    6     1    >   INIT_FCALL                                               'round'
          2        SUB                                              ~2      !0, 0.01
          3        SEND_VAL                                                 ~2
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    8     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
    9    10        IS_SMALLER_OR_EQUAL                                      0, !0
         11      > JMPNZ                                                    ~6, ->1
         12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.39 ms | 1394 KiB | 17 Q