会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
$restful
博客园
首页
新随笔
联系
管理
订阅
2023年11月1日
[不固定参数个数的函数传值使用] php的...在python中的形式写法 原创
摘要: 不固定参数个数的传参与取值 1、PHP function demo() { print_r(func_get_args()); } function demo2(...$args) { print_r($args); } 2、python def demo(*args): print(*args)
阅读全文
posted @ 2023-11-01 16:56 phper521
阅读(0)
评论(0)
推荐(0)
公告