Bifalgorithm post · Computer science one · Using Variables
What types of values does PHP support?
What types of values does PHP support? (Computer science one · Using Variables) — "PHP supports several different types: Booleans, integers, floating point num…
Ideas in this flowchart
- PHP supports several data types.
- Boolean values
- Integers
- Integer representation is platform dependent.
- Integers are usually 32-bit signed two’s complement values, ranging from −2,147,483,648 to 2,147,483,647.
- Floating-point numbers
- Floating-point representation is platform dependent.
- Floating-point numbers are usually 64-bit double-precision values defined by IEEE 754, providing about 16 digits of precision.
- Strings
- In PHP, strings and single characters are the same type.
- Strings are sequences of characters from the extended ASCII table, including character values from 0 to 255.
- PHP does not have native Unicode support for international characters.
- Arrays
- Objects