3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( (float) INF > PHP_FLOAT_MAX, (int) INF > PHP_INT_MAX, (float) NAN > PHP_FLOAT_MAX, (int) NAN > PHP_INT_MAX );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NE7id
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
    3     1        CAST                                          5  ~0      INF
          2        IS_SMALLER                                       ~1      1.79769e+308, ~0
          3        SEND_VAL                                                 ~1
    4     4        CAST                                          4  ~2      INF
          5        IS_SMALLER                                       ~3      9223372036854775807, ~2
          6        SEND_VAL                                                 ~3
    5     7        CAST                                          5  ~4      NAN
          8        IS_SMALLER                                       ~5      1.79769e+308, ~4
          9        SEND_VAL                                                 ~5
    6    10        CAST                                          4  ~6      NAN
         11        IS_SMALLER                                       ~7      9223372036854775807, ~6
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
    7    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.12 ms | 1394 KiB | 15 Q