3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo floor(bcadd('0.2', '1.4', 2) * 10); echo floor((0.2 + 1.4) * 10);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Ti1O
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'floor'
          1        INIT_FCALL_BY_NAME                                       'bcadd'
          2        SEND_VAL_EX                                              '0.2'
          3        SEND_VAL_EX                                              '1.4'
          4        SEND_VAL_EX                                              2
          5        DO_FCALL                                      0  $0      
          6        MUL                                              ~1      $0, 10
          7        SEND_VAL                                                 ~1
          8        DO_ICALL                                         $2      
          9        ECHO                                                     $2
    4    10        INIT_FCALL                                               'floor'
         11        SEND_VAL                                                 16
         12        DO_ICALL                                         $3      
         13        ECHO                                                     $3
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.24 ms | 1394 KiB | 15 Q