PHP 8.5.0 RC 5 available for testing

Voting

: eight minus five?
(Example: nine)

The Note You're Voting On

VivienG
2 years ago
They forgot to say something.
If the ending value not encounter the last sequence, the function return false.
In other words : 
Given a int $n, if ( $start + $n * $step ) < $end and  ( $start + ( $n + 1 ) * $step ) > $end, the function doen't give the maximum possible range, it returns a boolean.
So the last range number HAVE TO BE the end number.

<< Back to user notes page

To Top