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
Feed/

What types of values does PHP support?

No cover

Channel

Computer science one

1 page

"PHP supports several different types: Booleans, integers, floating point numbers, strings, arrays, and objects. The way that integers are represented may be platform dependent, but are usually 32-bit signed two’s complement integers, able to represent integers between − 2 , 147 , 483 , 648 and 2,147,483,647. Floating point numbers are also platform dependent, but are usually 64-bit double precision numbers defined by the IEEE 754 standard, providing about 16 digits of precision. Strings and single characters are the same thing in PHP. Strings are represented as sequences of characters from the extended ASCII text table (see Table 2.4) which includes all characters in the range 0–255. PHP does not have native Unicode support for international characters."

Flowchart preview
👍
0
0 comments0 shares

Sign in to view and post comments.