3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(sqrt(-1)); var_dump(NAN == true); var_dump(NAN === true); var_dump(NAN != NAN); var_dump(NAN !== NAN); var_dump(gettype(NAN)); var_dump(empty(NAN)); var_dump(is_null(NAN));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gVJLD
function name:  (null)
number of ops:  30
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'sqrt'
          2        SEND_VAL                                                 -1
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 <false>
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                                 
    9    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                                 
   11    18        INIT_FCALL                                               'var_dump'
         19        GET_TYPE                                         ~6      NAN
         20        SEND_VAL                                                 ~6
         21        DO_ICALL                                                 
   12    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAL                                                 <false>
         24        DO_ICALL                                                 
   13    25        INIT_FCALL                                               'var_dump'
         26        TYPE_CHECK                                    2  ~9      NAN
         27        SEND_VAL                                                 ~9
         28        DO_ICALL                                                 
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.1 ms | 1395 KiB | 17 Q