3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.55 ms | 1394 KiB | 15 Q