首页
技术博客
登录
6mi
u
盘
搜
搜 索
技术博客
PHP常用函数
PHP常用函数
tech
2022-07-08
205
compact <?php $firstname = "Peter"; $lastname = "Griffin"; $age = "41"; $result = compact("firstname", "lastname", "age"); print_r($result); ?>
运行结果
Array ( [firstname] => Peter [lastname] => Griffin [age] => 41 )
转载请注明原文地址:https://tech.qufami.com/read-322.html
最新回复
(
0
)