3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.94 ms | 1394 KiB | 20 Q