3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.45 ms | 1397 KiB | 16 Q