3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.37 ms | 1394 KiB | 15 Q