3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = 0.30; do { $d = bcsub($d, 0.01, 4); 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/P4cNk
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_BY_NAME                                       'bcsub'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              0.01
          4        SEND_VAL_EX                                              4
          5        DO_FCALL                                      0  $2      
          6        ASSIGN                                                   !0, $2
    7     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
    8    10        IS_SMALLER_OR_EQUAL                                      0, !0
         11      > JMPNZ                                                    ~5, ->1
         12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.33 ms | 1394 KiB | 18 Q