3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $num = 10; echo bcdiv((string)$num,'');
Finding entry points
Branch analysis from position: 0
Jump found. 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 7.1.0