Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Checks if a value exists in an array
<?php in_array(mixed $needle, array $haystack, bool $strict = false): bool
<?php             } elseif (false === $v || '' === $v || '0' === $v || 0 === $v || 0.0 === $v || [] === $v) {

                $type |= self::EXCLUDE_EMPTY & $filter;

            }

            if ((self::EXCLUDE_NOT_IMPORTANT & $filter) && !\in_array($k, $listedProperties, true)) {

                $type |= self::EXCLUDE_NOT_IMPORTANT;

            }

            if ((self::EXCLUDE_VERBOSE & $filter) && \in_array($k, $listedProperties, true)) {
<?php             if ((self::EXCLUDE_NOT_IMPORTANT & $filter) && !\in_array($k, $listedProperties, true)) {

                $type |= self::EXCLUDE_NOT_IMPORTANT;

            }

            if ((self::EXCLUDE_VERBOSE & $filter) && \in_array($k, $listedProperties, true)) {

                $type |= self::EXCLUDE_VERBOSE;

            }
<?php     function dd(...$vars)

    {

        if (!in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && !headers_sent()) {

            header('HTTP/1.1 500 Internal Server Error');

        }
<?php             case 'server' === $format:

            case $format && 'tcp' === parse_url($format, \PHP_URL_SCHEME):

                $host = 'server' === $format ? $_SERVER['VAR_DUMPER_SERVER'] ?? '127.0.0.1:9912' : $format;

                $dumper = \in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) ? new CliDumper() : new HtmlDumper();

                $dumper = new ServerDumper($host, $dumper, self::getDefaultContextProviders());

                break;

            default:
<?php                 $dumper = new ServerDumper($host, $dumper, self::getDefaultContextProviders());

                break;

            default:

                $dumper = \in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) ? new CliDumper() : new HtmlDumper();

        }



        if (!$dumper instanceof ServerDumper) {
<?php     {

        $contextProviders = [];



        if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && (class_exists(Request::class))) {

            $requestStack = new RequestStack();

            $requestStack->push(Request::createFromGlobals());

            $contextProviders['request'] = new RequestContextProvider($requestStack);