Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Finds whether a variable is an array
<?php is_array(mixed $value): bool
<?php                 $this->initFromInteger($value);

                break;



            case is_array($value):

                $this->initFromArray($value);

                break;
<?php         $pattern = "/^data:(?:image\/[a-zA-Z\-\.]+)(?:charset=\".+\")?;base64,(?P<data>.+)$/";

        preg_match($pattern, str_replace(["\n", "\r"], '', $data_url), $matches);



        if (is_array($matches) && array_key_exists('data', $matches)) {

            return base64_decode($matches['data']);

        }
<?php     {

        $arguments = $this->command->arguments;



        if (is_array($arguments)) {

            return isset($arguments[$this->key]) ? $arguments[$this->key] : $default;

        }
<?php                 $message = '%s accepts only string values as argument %d.';

                break;

            case 'array':

                $valid = \is_array($value);

                $message = '%s accepts only array as argument %d.';

                break;

            case 'closure':
<?php             $data = @exif_read_data($stream);



            if (!is_null($key) && is_array($data)) {

                $data = array_key_exists($key, $data) ? $data[$key] : false;

            }
<?php         if (array_key_exists('APP13', $info)) {

            $iptc = iptcparse($info['APP13']);



            if (is_array($iptc)) {

                $data['DocumentTitle'] = isset($iptc["2#005"][0]) ? $iptc["2#005"][0] : null;

                $data['Urgency'] = isset($iptc["2#010"][0]) ? $iptc["2#010"][0] : null;

                $data['Category'] = isset($iptc["2#015"][0]) ? $iptc["2#015"][0] : null;
<?php             }

        }



        if (! is_null($key) && is_array($data)) {

            $data = array_key_exists($key, $data) ? $data[$key] : false;

        }