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     function beforeAll(Closure $closure): void

    {

        if (! is_null(DescribeCall::describing())) {

            $filename = Backtrace::file();



            throw new BeforeAllWithinDescribe($filename);
<?php     function afterAll(Closure $closure): void

    {

        if (! is_null(DescribeCall::describing())) {

            $filename = Backtrace::file();



            throw new AfterAllWithinDescribe($filename);
<?php         $proxies = $this->proxies;



        $afterEachTestCase = ChainableClosure::boundWhen(

            fn (): bool => is_null($describing) || $this->__describing === $describing, // @phpstan-ignore-line

            ChainableClosure::bound(fn () => $proxies->chain($this), $this->closure)->bindTo($this, self::class), // @phpstan-ignore-line

        )->bindTo($this, self::class);
<?php         };



        $beforeEachTestCase = ChainableClosure::boundWhen(

            fn (): bool => is_null($describing) || $this->__describing === $describing,  // @phpstan-ignore-line

            ChainableClosure::bound(fn () => $testCaseProxies->chain($this), $this->closure)->bindTo($this, self::class), // @phpstan-ignore-line

        )->bindTo($this, self::class);
<?php     public function __destruct()

    {

        if (! is_null($this->describing)) {

            $this->testCaseMethod->describing = $this->describing;

            $this->testCaseMethod->description = Str::describe($this->describing, $this->testCaseMethod->description); // @phpstan-ignore-line

        }
<?php     {

        $argvValue = Arr::get($_SERVER, 'PARATEST');



        assert(is_string($argvValue) || is_int($argvValue) || is_null($argvValue));



        return ((int) $argvValue) === 1;

    }
<?php             $types = ($parameter->hasType()) ? $parameter->getType() : null;



            if (is_null($types)) {

                $arguments[$parameter->getName()] = 'mixed';



                continue;