3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [NAN]; var_dump($a === $a); var_dump([NAN] === [NAN]); $a = [NAN]; $b = [NAN]; var_dump($a === $b); var_dump([NAN] === array_values([NAN]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9efa1
function name:  (null)
number of ops:  22
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                                                 
    9    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'array_values'
         16        SEND_VAL                                                 <array>
         17        DO_ICALL                                         $10     
         18        IS_IDENTICAL                                     ~11     $10, <array>
         19        SEND_VAL                                                 ~11
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.92 ms | 1395 KiB | 17 Q