3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
216.09 ms | 1781 KiB | 17 Q