3v4l.org

run code in 500+ PHP versions simultaneously
<?php $precision = 12; $x = 0.00002123; echo bcadd(number_format($x, $precision), 5, $precision);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SuWIu
function name:  (null)
number of ops:  13
compiled vars:  !0 = $precision, !1 = $x
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 12
    4     1        ASSIGN                                                       !1, 2.123e-5
    5     2        INIT_FCALL_BY_NAME                                           'bcadd'
          3        INIT_FCALL                                                   'number_format'
          4        SEND_VAR                                                     !1
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                             $4      
          7        SEND_VAR_NO_REF_EX                                           $4
          8        SEND_VAL_EX                                                  5
          9        SEND_VAR_EX                                                  !0
         10        DO_FCALL                                          0  $5      
         11        ECHO                                                         $5
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.41 ms | 1993 KiB | 14 Q