3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.15 ms | 1394 KiB | 17 Q