3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.49 ms | 1394 KiB | 17 Q