3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.08 ms | 1394 KiB | 24 Q