3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = bcdiv('0.00000240', '10', 8); var_dump('0.00000240'); var_dump(bcmul('0.00000100', '20000', 8));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RmrWa
function name:  (null)
number of ops:  18
compiled vars:  !0 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'bcdiv'
          1        SEND_VAL_EX                                              '0.00000240'
          2        SEND_VAL_EX                                              '10'
          3        SEND_VAL_EX                                              8
          4        DO_FCALL                                      0  $1      
          5        ASSIGN                                                   !0, $1
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAL                                                 '0.00000240'
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL_BY_NAME                                       'bcmul'
         11        SEND_VAL_EX                                              '0.00000100'
         12        SEND_VAL_EX                                              '20000'
         13        SEND_VAL_EX                                              8
         14        DO_FCALL                                      0  $4      
         15        SEND_VAR                                                 $4
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.55 ms | 939 KiB | 16 Q