Tokens of PHP language

Notes:

Tokens of PHP Language: C KICS OS
(“Smallest Unit” of any programming language is generally called as a Token (word))

C – Comments.
K – Keywords and Data Types
I – Identifiers
C – Constants and Variables
S – Strings and Characters
O – Operators : LARA BICSS
- L – Logical (&&, || ,!, and, or, xor)
- A – Arithmetic (+, - , *, /, %, **)
- R – Relational (<, >, <=, >=, ==, ! =, <>, === , !==)
- A – Assignment (=)
o- Arithmetic Assignment ( Short Hand Assignment) : (+=, -=, *=, /=, %=)
- B – Bitwise (&,|, ~, ^)
o- Bitwise Shift ( <<, >>)
- I – Increment and Decrement (++, -- )
- C – Conditional ( ?: )
- S – String operators ( . , .= )
- S – Special operators ( ->, ::, => )
S – Separators. ([] (Array dimension), ; (Semicolon), , (comma), {} (Block separator) and more)

Interview Questions:

1. PHP stands for ______________
a. Hypertext Preprocessor
b. Preprocessor Hypertext
c. Personal Home Processor
d. Personal Hypertext processor
Ans: a