KINDS OF DATA PROGRAMMING TYPES IN PHP
FOR THE MORE CLEAR, AGAIN CAN BE SEEN BELOW
• String - Data type in the form of letters / symbols.
• Integer - The data type is a number.
• Float - Data type in the form of a decimal number
• Boolean - Data type with two conditions TRUE or FALSE.
• Arrays - Data types that can store multiple data in one
variable
• Object - A type of data that stores data and information on how to process
the data. In PHP objects must be stated explicitly. First
we have to declare the object class, for that we use the command
class. Class is a structure that can contain properties and methods.
1. STRING
Data type in the form of letters / symbols.
sample program
program results
2.INTEGER
The data type is a number.
sample program
program resutls
3.FLOAT
Data type in the form of a decimal number
sample program
program results
4.BOOLEAN
Data type with two conditions TRUE or FALSE.
sample program
program results
5.ARRAY VARIABLE
Data types that can store multiple data in one
sample program
6.OBJECT
A type of data that stores data and information on how to process
the data. In PHP objects must be stated explicitly. Firstwe have to declare the object class, for that we use the command
sample program
program results
THANK YOU, ALREADY ENTERED IN MY BLOG












No comments:
Post a Comment