3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.12 ms | 1395 KiB | 17 Q