Home
Sign Up
Sign In
V2EX
›
问与答
PHP 可有原生的函数做这样的转换
ioioioioioioi
·
Jan 3, 2017
· 1828 views
This topic created in 3597 days ago, the information mentioned may be changed or developed.
#原函数 ['tom', 'jack', 'lily'] # 转换后的 ['tom' => 'tom', 'jack' => 'jack', 'lily'=> 'lily']
lily'
jack'
tom'
原函数
2 replies
•
2017-01-03 10:35:33 +08:00
FinnBai
Jan 3, 2017
2
1
array_combine(['tom', 'jack', 'lily'],['tom', 'jack', 'lily'])
ioioioioioioi
OP
Jan 3, 2017
2
@
baiyi
多谢。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
4540 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 03:06
·
PVG 11:06
·
LAX 19:06
·
JFK 22:06
♥ Do have faith in what you're doing.
❯