Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Finds whether a variable is null
<?php is_null(mixed $value): bool
<?php                 $this->initFromObject($value);

                break;



            case is_null($value):

                $this->initFromArray([255, 255, 255, 0]);

                break;
<?php     {

        $data = $this->decodeDataUrl($this->data);



        return is_null($data) ? false : true;

    }
<?php     protected function setQuality($quality)

    {

        $quality = is_null($quality) ? 90 : $quality;

        $quality = $quality === 0 ? 1 : $quality;



        if ($quality < 0 || $quality > 100) {
<?php     public function border($width, $color = null)

    {

        $this->border_width = is_numeric($width) ? intval($width) : 0;

        $this->border_color = is_null($color) ? '#000000' : $color;

    }
<?php     public function hasOutput()

    {

        return ! is_null($this->output);

    }
<?php     {

        $value = $this->type('numeric')->value();



        if (is_null($value)) {

            return $this;

        }
<?php     {

        $v = $this->type('numeric')->value();



        if (is_null($v)) {

            return $this;

        }
<?php     {

        $v = $this->type('numeric')->value();



        if (is_null($v)) {

            return $this;

        }
<?php             $data = @exif_read_data($stream);



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

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

            }
<?php             }

        }



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

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

        }
<?php         $x = $this->argument(2)->type('digit')->value();

        $y = $this->argument(3)->type('digit')->value();



        if (is_null($width) || is_null($height)) {

            throw new \Intervention\Image\Exception\InvalidArgumentException(

                "Width and height of cutout needs to be defined."

            );
<?php         $position = new Point($x, $y);




        if (is_null($x) && is_null($y)) {

            $position = $image->getSize()->align('center')->relativePosition($cropped->align('center'));

        }
<?php         $resource = imagecreatetruecolor($size->width, $size->height);




        if (is_null($matte)) {

            $matte = imagecolorallocatealpha($resource, 255, 255, 255, 127);

        } else {

            $matte = $image->getDriver()->parseColor($matte)->getInt();
<?php         $original_height = $image->getHeight();




        $width = is_null($width) ? $original_width : intval($width);

        $height = is_null($height) ? $original_height : intval($height);
<?php         $width = is_null($width) ? $original_width : intval($width);

        $height = is_null($height) ? $original_height : intval($height);




        if ($relative) {