3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.22 ms | 1394 KiB | 18 Q