what are the different types of php variables 3f

Solutions on MaxInterview for what are the different types of php variables 3f by the best coders in the world

showing results for - "what are the different types of php variables 3f"
Tatiana
05 Nov 2016
1There are 8 data types in PHP which are used to construct the variables:
21. Integers - are whole numbers without a decimal point, like 4195.
32. Doubles - are floating-point numbers, like 3.14486 or 49.1.
43. Booleans - have only two possible values either true or false.
54. Null - is a special type that only has one value:Null.
65. Strings - are sequences of characters.
76. Arrays - are named and indexed collection of other values.
87. Objects - are instances of programmer-defined classes, which can package up both other kinds of values and functions that are specific to the class.
98. Resources- are spacial varibles that hold references to resources external to PHP.