Actually data types are the back bone of any program.
There are 6 types of data types in PHP:
1. Integers
2.Strings
3.Floating point numbers
4. Arrays
5. Objects
6. Booleans
String Delimters:
\n Newline
\r Carriage return
\t Horizontal tab
\\ Backslash
\$ Dollar sign
\” Double-quotation mark
\[0-7]{1,3} Octal notation regular expression pattern
\x[0-9A-Fa-f]{1,2} Hexadecimal notation regular expression pattern
A double quote string recognizes all the about delimiters but a single quote string recognizes only delimiters "\" and "\\".
Character handling:
String can be accessed character - by - character like sequently indexed array.
$a_b= 10;
$m=ab;
There are 6 types of data types in PHP:
1. Integers
2.Strings
3.Floating point numbers
4. Arrays
5. Objects
6. Booleans
String Delimters:
\n Newline
\r Carriage return
\t Horizontal tab
\\ Backslash
\$ Dollar sign
\” Double-quotation mark
\[0-7]{1,3} Octal notation regular expression pattern
\x[0-9A-Fa-f]{1,2} Hexadecimal notation regular expression pattern
A double quote string recognizes all the about delimiters but a single quote string recognizes only delimiters "\" and "\\".
Character handling:
String can be accessed character - by - character like sequently indexed array.
$a_b= 10;
$m=ab;
No comments:
Post a Comment