NativeScalar
final class NativeScalar
| internal |
Methods
static int
int(mixed $value)
Convert a value to an integer with PHP's weak typing rules.
static float
float(mixed $value)
Convert a value to a float with PHP's weak typing rules.
static string
string(mixed $value)
Convert a value to a string with PHP's weak typing rules.
static bool
bool(mixed $value)
Convert a value to a boolean with PHP's weak typing rules.
Details
at line 17
static int
int(mixed $value)
Convert a value to an integer with PHP's weak typing rules.
at line 25
static float
float(mixed $value)
Convert a value to a float with PHP's weak typing rules.
at line 33
static string
string(mixed $value)
Convert a value to a string with PHP's weak typing rules.
at line 41
static bool
bool(mixed $value)
Convert a value to a boolean with PHP's weak typing rules.