3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(sqrt(-1)); var_dump(NAN == true); var_dump(NAN === true); gettype(NAN); empty(NAN); is_null(NAN);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ERERv
function name:  (null)
number of ops:  17
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        GET_TYPE                                         ~4      NAN
         13        FREE                                                     ~4
    9    14        TYPE_CHECK                                    2  ~5      NAN
         15        FREE                                                     ~5
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.73 ms | 1394 KiB | 17 Q