3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array_1 = array( 0 => 4413, 1 => 4414, 2 => 13020, 3 => 13022, 4 => 4801, 5 => 4802, 6 => 4809, 7 => 11204, 8 => 14201, 9 => 14202, 10 => 14203, 11 => 12303, 12 => 12304, 13 => 10113, 14 => 10302, 15 => 10307, 16 => 4, 17 => 10404, 18 => 10502, 19 => 10701, 20 => 10704, 21 => 10801, 22 => 11006, 23 => 11201, 24 => 11305, 25 => 11310, 26 => 11605, 27 => 11702, 28 => 11705, 29 => 11707, 30 => 11803 ); $array_2 = array( 0 => 4413, 1 => 4414, 2 => 13020, 3 => 13022, 4 => 4801, 5 => 4802, 6 => 4809, 7 => 11204, 8 => 14201, 9 => 14202, 10 => 14203, 11 => 12303, 12 => 12304, 13 => 10113, 14 => 10302, 15 => 10307, 16 => 4, 17 => 10404, 18 => 10502, 19 => 10701, 20 => 10704, 21 => 10801, 22 => 11006, 23 => 11201, 24 => 11305, 25 => 11310, 26 => 11605, 27 => 11702, 28 => 11705, 29 => 11707, 30 => 11803, 31 => 4415, 32 => 4416, 33 => 4417, 34 => 4418 ); echo "array_1 does not contain any values not present in array_2:\n"; print_r(array_diff($array_1, $array_2)); echo "\narray_2 contains 4 values that are not present in array_1:\n"; print_r(array_diff($array_2, $array_1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OmoMT
function name:  (null)
number of ops:  19
compiled vars:  !0 = $array_1, !1 = $array_2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   13     1        ASSIGN                                                   !1, <array>
   23     2        ECHO                                                     'array_1+does+not+contain+any+values+not+present+in+array_2%3A%0A'
   24     3        INIT_FCALL                                               'print_r'
          4        INIT_FCALL                                               'array_diff'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
   26    10        ECHO                                                     '%0Aarray_2+contains+4+values+that+are+not+present+in+array_1%3A%0A'
   27    11        INIT_FCALL                                               'print_r'
         12        INIT_FCALL                                               'array_diff'
         13        SEND_VAR                                                 !1
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $6      
         16        SEND_VAR                                                 $6
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.19 ms | 1399 KiB | 17 Q