The IDE (Integrated development environment), an integrated development environment, is an application for the provider development environment, typically including tools such as code editors, compilers, debuggers, and graphical user interfaces. Integration of code writing function, analysis function, compile function, debugging function and other integrated development software service sets.
PHP Basics
1. Marking and annotation
/* Multiline Comment */
Single-line Comment
2. Output statement
echo "Output": multiple strings can be output, separated by commas
Print (output): Only one string can be output
Print_r (Array): You can simply print the string and the number, and the array is displayed as a list of the enclosed keys and values, starting with an array. Typically used for output arrays
Var_dump (Output): Output with a value of type
3. Data type
PHP is a weakly typed language
GetType (): Get type
Is_ type name (): Judging type
4. Variable definition
$ Variable name = value
Isset (): Determining whether a variable is defined
unset (): Variable clear
Empty (): Determine if the variable is empty
Type conversions: Settype (variable name, type)
5. Operator expressions
Stitching a string: Using a dot. (different from JS +)
@ (Error control operator)
IDE and PHP Basics