3v4l.org

run code in 300+ PHP versions simultaneously
<?php $satoshi = 7995716051345; //Satoshi to btc echo number_format(($satoshi)*(pow(10, -8)), 8, '.', ''); //Returns 0.00005000 ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XdHlP
function name:  (null)
number of ops:  14
compiled vars:  !0 = $satoshi
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 7995716051345
    4     1        INIT_FCALL                                               'number_format'
          2        INIT_FCALL                                               'pow'
          3        SEND_VAL                                                 10
          4        SEND_VAL                                                 -8
          5        DO_ICALL                                         $2      
          6        MUL                                              ~3      !0, $2
          7        SEND_VAL                                                 ~3
          8        SEND_VAL                                                 8
          9        SEND_VAL                                                 '.'
         10        SEND_VAL                                                 ''
         11        DO_ICALL                                         $4      
         12        ECHO                                                     $4
    6    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.04 ms | 1394 KiB | 17 Q