摘要: // 数组 $arr = array('a','b'); // 数值数组 $arr = ['a','b']; // 关联数组 $arr = [ 'name' => 'mark', 'sex' => 'man', 1314 ]; foreach($arr as $opo=>$uiu){ echo  阅读全文
posted @ 2020-08-01 14:33 梦魇之瞳 阅读(110) 评论(0) 推荐(0) 编辑
摘要: $title = '凤凰涅槃'; // 输出:echo'',print'title' echo $title; // 变量 $x = 100; $y = 'title'; echo $y; // 可变变量 $a = 'b'; $b = 'title'; echo $$a;//$$a => $b => 阅读全文
posted @ 2020-08-01 14:32 梦魇之瞳 阅读(129) 评论(0) 推荐(0) 编辑