diff --git "a/\344\275\231\351\201\223\347\244\274/2022-05-11php\345\237\272\347\241\200/PHP.md" "b/\344\275\231\351\201\223\347\244\274/2022-05-11php\345\237\272\347\241\200/PHP.md" new file mode 100644 index 0000000000000000000000000000000000000000..6c1a0d8f5f4e79c50df90a88db5d6d2ef578f827 --- /dev/null +++ "b/\344\275\231\351\201\223\347\244\274/2022-05-11php\345\237\272\347\241\200/PHP.md" @@ -0,0 +1,188 @@ +# PHP + +### 特点 + +#### 1.开源免费 + +#### 2.跨平台性 + +#### 3.面向对象 + +#### 4.多种数据库 + +#### 5.快捷性 + + + +## 课堂杂记 + +var_dump + +$+变量名、例:$name +var :定义变量 + +const 常量名=常量值 + + + +echo"hello world" 可以输出多个字符串,但无返回值 + +print"hello word" 只能输出一个字符串 + + + ++表示加法,“.”才表示连接 + +字符串全是数字时,进行加法运算,会自动变数字 + + + +## 作业 + +```php + + +
+