Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Find whether the type of a variable is integer
is_int(mixed $value): bool
    {

        if (isset(
$this->verbosityMap[$level])) {

            
$level $this->verbosityMap[$level];

        } elseif (! 
is_int($level)) {

            
$level $this->verbosity;

        }
            } catch (BindingResolutionException $e) {

                throw new 
RuntimeException(

                    
'Unable to resolve the dispatcher from the service container. Please bind it or install the illuminate/bus package.',

                    
is_int($e->getCode()) ? $e->getCode() : 0$e

                
);

            }

        }
                throw $e;

            }



            throw new 
EntryNotFoundException($idis_int($e->getCode()) ? $e->getCode() : 0$e);

        }

    }
                $this->getName(), $this->transactions

            
);



            throw new 
DeadlockException($e->getMessage(), is_int($e->getCode()) ? $e->getCode() : 0$e);

        }
                is_string($key) ? $key $key 1,

                
$value,

                match (
true) {

                    
is_int($value) => PDO::PARAM_INT,

                    
is_resource($value) => PDO::PARAM_LOB,

                    default => 
PDO::PARAM_STR

                
},
            if (is_int($scope)) {

                [
$scope$parameters] = [$parameters, []];

            }
            return false;

        }



        if (
is_int($parentKey) || is_int($relatedKey)) {

            return (int) 
$parentKey === (int) $relatedKey;

        }
            return 0;

        }



        if (
is_int($result) || is_float($result)) {

            return 
$result;

        }
        $bindings $this->cleanBindings(array_merge(

            
Arr::flatten($values1),

            
collect($update)->reject(function ($value$key) {

                return 
is_int($key);

            })->
all()

        ));
    protected function modifySrid(Blueprint $blueprintFluent $column)

    {

        if (
is_int($column->srid) && $column->srid 0) {

            return 
' srid '.$column->srid;

        }

    }
                if ($e instanceof NotFoundHttpException) {

                    throw new 
NotFoundHttpException(

                        
"{$request->method()} {$request->url()}"$eis_int($e->getCode()) ? $e->getCode() : 0

                    
);

                }
            throw new Exception(

                
sprintf('Request to AWS SES API failed. Reason: %s.'$reason),

                
is_int($e->getCode()) ? $e->getCode() : 0,

                
$e

            
);

        }
    public function bindingFieldFor($parameter)

    {

        
$fields is_int($parameter) ? array_values($this->bindingFields) : $this->bindingFields;



        return 
$fields[$parameter] ?? null;

    }
            [$event$callback] = [$this->firstClosureParameterType($event), $event];

        }



        if (
is_int($callback)) {

            return 
$this->assertDispatchedTimes($event$callback);

        }
    {

        
$prop $this->prop();



        if (
is_int($key) && is_null($length)) {

            return 
$this->count($key);

        }