3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.95 ms | 1394 KiB | 17 Q