mini\sqlval()
Function
Documentation
Convert a value to SQL-bindable scalar
Uses the 'sql-value' converter target type. Returns the value unchanged if it's already a scalar or null.
Signature
function sqlval(mixed $value): string|int|float|bool|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$value |
mixed |
required | Documentation missing |
Returns
string|int|float|bool|null