- 3.6. Function reference
3.6.28. scalar() - 3.6.27. replace()
« Previous - 3.6.29. spacify()
Next »
3.6.28. scalar()
| Reference | boolean scalar(mixed $value) |
|---|---|
| Versions | since 2.0-RC2 |
Returns true, if the specified value is a scalar, that is:
- A string
- An integer
- A floating point number
- A boolean value
False is returned for containers and PHP resources.
- 3.6.28. scalar()
3.6. Function reference - « Previous
3.6.27. replace() - Next »
3.6.29. spacify()