3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nan = NAN; var_dump(0 < NAN); var_dump(0 < $nan); var_dump(0 == NAN); var_dump(0 == $nan); var_dump(NAN == NAN); var_dump($nan == NAN);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fZ1Kh
function name:  (null)
number of ops:  23
compiled vars:  !0 = $nan
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, NAN
    4     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAL                                                 <false>
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'var_dump'
          5        IS_SMALLER                                       ~3      0, !0
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAL                                                 <false>
         10        DO_ICALL                                                 
    7    11        INIT_FCALL                                               'var_dump'
         12        IS_EQUAL                                         ~6      !0, 0
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAL                                                 <false>
         17        DO_ICALL                                                 
    9    18        INIT_FCALL                                               'var_dump'
         19        IS_EQUAL                                         ~9      !0, NAN
         20        SEND_VAL                                                 ~9
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.64 ms | 1395 KiB | 15 Q