3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = [NAN]; var_dump($a === $a); var_dump([NAN] === [NAN]); $a = [NAN]; $b = [NAN]; var_dump($a === $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OiYQv
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        INIT_FCALL                                                   'var_dump'
          2        IS_IDENTICAL                                         ~3      !0, !0
          3        SEND_VAL                                                     ~3
          4        DO_ICALL                                                     
    5     5        INIT_FCALL                                                   'var_dump'
          6        SEND_VAL                                                     <false>
          7        DO_ICALL                                                     
    6     8        ASSIGN                                                       !0, <array>
    7     9        ASSIGN                                                       !1, <array>
    8    10        INIT_FCALL                                                   'var_dump'
         11        IS_IDENTICAL                                         ~8      !0, !1
         12        SEND_VAL                                                     ~8
         13        DO_ICALL                                                     
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.82 ms | 3068 KiB | 14 Q