3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo number_format(1000, 4) . "\n"; echo bcadd(1000, 0, 4);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mpgPv
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'number_format'
          1        SEND_VAL                                                 1000
          2        SEND_VAL                                                 4
          3        DO_ICALL                                         $0      
          4        CONCAT                                           ~1      $0, '%0A'
          5        ECHO                                                     ~1
    3     6        INIT_FCALL_BY_NAME                                       'bcadd'
          7        SEND_VAL_EX                                              1000
          8        SEND_VAL_EX                                              0
          9        SEND_VAL_EX                                              4
         10        DO_FCALL                                      0  $2      
         11        ECHO                                                     $2
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.9 ms | 1394 KiB | 18 Q