array_diff

Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Computes the difference of arrays
<?php array_diff(array $array, array ...$arrays): array
<?php ];

foreach ($devLayers as $layer) {

    exec("docker run --rm -v \${PWD}/helpers:/var/task/ --entrypoint php $layer -m", $output, $exitCode);

    $notLoaded = array_diff($devExtensions, $output);


    if ($exitCode !== 0 || count($notLoaded) > 0) {

        throw new Exception(implode(PHP_EOL, array_map(function ($extension) {