From 4edecfa972a9e7fe849e22ab61d1f54ffa5673d9 Mon Sep 17 00:00:00 2001 From: unknown <510873001@qq.com> Date: Wed, 11 May 2022 10:58:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...p\347\254\254\344\270\200\347\253\240.php" | 0 ...p\347\254\254\344\272\214\347\253\240.php" | 38 +++++++++++++++++++ 2 files changed, 38 insertions(+) rename "\351\231\210\351\233\205\346\245\240/20220510-PHP.php" => "\351\231\210\351\233\205\346\245\240/20220510-php\347\254\254\344\270\200\347\253\240.php" (100%) create mode 100644 "\351\231\210\351\233\205\346\245\240/20220511-php\347\254\254\344\272\214\347\253\240.php" 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 0000000..cbb86f7 --- /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,38 @@ +# 笔记 + + + + + +# 作业 + Date: Wed, 11 May 2022 11:29:33 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...p\347\254\254\344\272\214\347\253\240.php" | 38 ++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) 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" index cbb86f7..818aa0b 100644 --- "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" @@ -1,8 +1,21 @@ # 笔记 +// 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 -- Gitee