3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1.001; var_dump(round(round($a,2)-round($a,8),2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U70Wq
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1.001
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'round'
          3        INIT_FCALL                                               'round'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 2
          6        DO_ICALL                                         $2      
          7        INIT_FCALL                                               'round'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 8
         10        DO_ICALL                                         $3      
         11        SUB                                              ~4      $2, $3
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 2
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.45 ms | 1394 KiB | 17 Q