Logo

Math Functions

abs acos acosh asin asinh atan atan2 atanh base_convert bindec ceil cos cosh decbin dechex decoct deg2rad exp expm1 fdiv floor fmod hexdec hypot intdiv is_finite is_infinite is_nan log log10 log1p max min octdec pi pow rad2deg round sin sinh sqrt tan tanh

max

Logo statamic/cms statamic/cms
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Find highest value
<?php max(mixed $value, mixed ...$values): mixed
<?php     public function offset($value)

    {

        $this->offset = max(0, $value);



        return $this;

    }
src/Query/Builder.php