January 6th, Wed.
(TIL = Today I learned.)
Today, I learned : PHP tutorials
Bookmark : javaTpoint (magic-constants) / tutorialsPoint (intro)
0. PHP
1) echo statement
- can have multiple input variables, separated by comma(,)s.
2) PHP properties
- interpreted language (don't need compilers and such)
- faster than other scripting languages
- can be embedded into HTML.
- object-oriented.
- can create sessions.
- can access / set cookies.
- PHP is a secure language to develop the website. It consists of multiple layers of security to prevent threads and malicious attacks.
1. variable rules
- variable name starts with alphabet or underscore(_).
- variable name is case-sensitive.
- variable name starts with $ sign. constants doesn't.
- static variable is stored dynamically and used globally.
2. special variable properties
1)double-dollar ($$)
PHP supports variable name as a variable.