From 57845562c929812d9292ab17238249de0371093b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=91=E6=98=A5=E6=9F=B3?= <1553690980@qq.com> Date: Tue, 17 May 2022 12:56:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...33\351\242\230\344\275\234\344\270\232.md" | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 "\345\262\221\346\230\245\346\237\263/2022.5.16-PHP\345\233\233\351\242\230\344\275\234\344\270\232.md" diff --git "a/\345\262\221\346\230\245\346\237\263/2022.5.16-PHP\345\233\233\351\242\230\344\275\234\344\270\232.md" "b/\345\262\221\346\230\245\346\237\263/2022.5.16-PHP\345\233\233\351\242\230\344\275\234\344\270\232.md" new file mode 100644 index 0000000..cbc0c24 --- /dev/null +++ "b/\345\262\221\346\230\245\346\237\263/2022.5.16-PHP\345\233\233\351\242\230\344\275\234\344\270\232.md" @@ -0,0 +1,36 @@ +```php +//自定义函数求圆的面积 +"小王","sex"=>"男","age"=>"18"); +foreach ($arr as $aa){ + echo $aa."
"; +} +``` + +```php +//写一段程序,创建一个关联数组,其元素是姓名,年龄,性别等个人信息,并输出该数组。 +"李白","age"=>"61","sex"=>"男","times"=>"唐朝"); +var_dump($arr); +``` + -- Gitee