3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(array_diff( [ 'q1' => true, 'q2' => true, 'q3' => false, 'q4' => false, ], [ 'q1' => false, 'q2' => true, 'q3' => false, 'q4' => false, ] ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DlnBr
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'array_diff'
    5     2        SEND_VAL                                                     <array>
   11     3        SEND_VAL                                                     <array>
    3     4        DO_ICALL                                             $0      
   11     5        SEND_VAR                                                     $0
    3     6        DO_ICALL                                                     
   16     7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.65 ms | 2355 KiB | 15 Q