3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sat = 1000; $bc = bcdiv($sat, 1e8, 8); echo $bc;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0SLHd
function name:  (null)
number of ops:  9
compiled vars:  !0 = $sat, !1 = $bc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1000
    4     1        INIT_FCALL_BY_NAME                                       'bcdiv'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              1.0e+8
          4        SEND_VAL_EX                                              8
          5        DO_FCALL                                      0  $3      
          6        ASSIGN                                                   !1, $3
    5     7        ECHO                                                     !1
    6     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.59 ms | 1392 KiB | 13 Q