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', 2) * 10;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/la1Je
function name:  (null)
number of ops:  18
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                                                 '0.2'
         12        SEND_VAL                                                 '1.4'
         13        SEND_VAL                                                 2
         14        DO_ICALL                                         $3      
         15        MUL                                              ~4      $3, 10
         16        ECHO                                                     ~4
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.68 ms | 1394 KiB | 18 Q