Common data types

Common data types are:

char - contains a singe character.

string - a collection of characters.

Integer - whole numbers.

float - a number with decimal point. A number after decimal point is optional. Operation time and memory consumption with integer numbers will be faster and memory consumption will be lower with integers.

datetime - this data type will represent date and time.

Boolean - this data type has true or false values. False can be represented with 0, and True with 1.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator