SplInt
class SplInt extends SplType (View source)
The SplInt class is used to enforce strong typing of the integer type.
Constants
__default |
|
Methods
__construct(mixed $initial_value = self::__default, bool $strict = true)
Creates a new value of some type
from
SplType
Details
__construct(mixed $initial_value = self::__default, bool $strict = true)
Creates a new value of some type