3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.73 ms | 1386 KiB | 15 Q