Professional Documents
Culture Documents
Quick Tour: Abhinav Nath Gupta IT Final Yr (0700113002
Quick Tour: Abhinav Nath Gupta IT Final Yr (0700113002
Presented By:
Abhinav Nath Gupta
IT Final Yr (0700113002)
What is Php?
• Easy to use.
• Easy to learn.
• Same in format as general hands on language
like C.
• Highly Flexible.
• Lightweight on Browser.
• Support OOP.
• Open source.
Progress
• $a = ‘hii’;
• The = is assignment operator in php.
• The default type is NULL in php.
• You can use ‘’ within “” but viceversa is
prohibited in php.
• Constants are defined using
define(string,value).
Php Internal Data Types
• By default there are 8 data types:
• Boolean: holds true/false.
• Integer: holds integers.
• Float: holds real numbers.
• String: holds text strings.
• Array: hold array of data items.
• Object: user defined programming units.
Cont…..
• Resource: holds data resource.
• NULL: holds Null values.
Operators