Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
<?php
$options = [
1,2,3,4,5,6,7,8,9,10
];
$compound = [2, 3, 4, 5, 6];
print_r(array_diff($compound, $options));