diff --git "a/\351\231\210\351\233\205\346\245\240/20220510-PHP.php" "b/\351\231\210\351\233\205\346\245\240/20220510-php\347\254\254\344\270\200\347\253\240.php" similarity index 100% rename from "\351\231\210\351\233\205\346\245\240/20220510-PHP.php" rename to "\351\231\210\351\233\205\346\245\240/20220510-php\347\254\254\344\270\200\347\253\240.php" diff --git "a/\351\231\210\351\233\205\346\245\240/20220511-php\347\254\254\344\272\214\347\253\240.php" "b/\351\231\210\351\233\205\346\245\240/20220511-php\347\254\254\344\272\214\347\253\240.php" new file mode 100644 index 0000000000000000000000000000000000000000..818aa0b8825e727a251ed68530eb62dcbf3f5b52 --- /dev/null +++ "b/\351\231\210\351\233\205\346\245\240/20220511-php\347\254\254\344\272\214\347\253\240.php" @@ -0,0 +1,74 @@ +# 笔记 +// 1、运算符 +//<1>.赋值运算符 +//<2>.自增自减 +//<3>.比较运算符 +//<4>.逻辑运算符 +//<5>.三元运算符(条件、三目) + + +//2、分支结构 +//<1>.if else 结构 +//<2>.switch 结构 明确可选择的情况下使用 + + +//3、循环结构 +//<1>.while 结构/do-while +//<2>.continue 跳过本次循环 + + +# 作业 +20){ + echo 20+($a-20)*1.5; + } + + + +=1;$i--){ +// echo "$i "; +// } + +//二、 + $s=10; + while($s>=1){ + echo "$s "; + $s--; + } \ No newline at end of file