3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contains = ['a', 'b', 'c']; $check = ['b', 'd']; $missing = array_diff($check, $contains); var_dump(count($missing) !== count($check));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hVm62
function name:  (null)
number of ops:  14
compiled vars:  !0 = $contains, !1 = $check, !2 = $missing
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'array_diff'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    6     7        INIT_FCALL                                               'var_dump'
          8        COUNT                                            ~7      !2
          9        COUNT                                            ~8      !1
         10        IS_NOT_IDENTICAL                                 ~9      ~7, ~8
         11        SEND_VAL                                                 ~9
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.08 ms | 1394 KiB | 17 Q