3v4l.org

run code in 300+ PHP versions simultaneously
<?php $main_array = array( 1 => array('ceva'), 2 => array('cevaa'), 21 => 3 ); $sub_array = array( 1 => array('ceva'), 2 => array(1, 2), 12 => 2 ); echo '<pre>'; var_dump(array_diff_assoc($main_array, $sub_array)); echo '</pre>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6ujX5
function name:  (null)
number of ops:  12
compiled vars:  !0 = $main_array, !1 = $sub_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        ASSIGN                                                   !1, <array>
   15     2        ECHO                                                     '%3Cpre%3E'
   16     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'array_diff_assoc'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
   17    10        ECHO                                                     '%3C%2Fpre%3E'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.25 ms | 1394 KiB | 17 Q