3v4l.org

run code in 300+ PHP versions simultaneously
<?php $anArray = array(array('black')); $anotherArray = array(array('white')); var_dump((is_array($anArray) && is_array($anotherArray) && array_diff($anArray, $anotherArray) == array_diff($anotherArray, $anArray)));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 18
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 7
filename:       /in/SIhAF
function name:  (null)
number of ops:  21
compiled vars:  !0 = $anArray, !1 = $anotherArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'var_dump'
          3        TYPE_CHECK                                  128  ~4      !0
          4      > JMPZ_EX                                          ~4      ~4, ->7
          5    >   TYPE_CHECK                                  128  ~5      !1
          6        BOOL                                             ~4      ~5
          7    > > JMPZ_EX                                          ~4      ~4, ->18
          8    >   INIT_FCALL                                               'array_diff'
          9        SEND_VAR                                                 !0
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $6      
         12        INIT_FCALL                                               'array_diff'
         13        SEND_VAR                                                 !1
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $7      
         16        IS_EQUAL                                         ~8      $6, $7
         17        BOOL                                             ~4      ~8
         18    >   SEND_VAL                                                 ~4
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.73 ms | 1395 KiB | 17 Q