3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n1 = '0.0000000100'; $n2 = '0.0000000200'; $sum = bcadd($n1, $n2, 10); printf("sum = %s", $sum);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G933n
function name:  (null)
number of ops:  13
compiled vars:  !0 = $n1, !1 = $n2, !2 = $sum
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0.0000000100'
    4     1        ASSIGN                                                   !1, '0.0000000200'
    5     2        INIT_FCALL_BY_NAME                                       'bcadd'
          3        SEND_VAR_EX                                              !0
          4        SEND_VAR_EX                                              !1
          5        SEND_VAL_EX                                              10
          6        DO_FCALL                                      0  $5      
          7        ASSIGN                                                   !2, $5
    7     8        INIT_FCALL                                               'printf'
          9        SEND_VAL                                                 'sum+%3D+%25s'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
129.68 ms | 1398 KiB | 15 Q