主页
PHP
PHP compact() 函数
tryphp_func_compact
运行 ❯
×
更改方向
保存代码
更改主题
<?php $firstname = "Peter"; $lastname = "Griffin"; $age = "41"; $result = compact("firstname", "lastname", "age"); print_r($result); ?>