php教程

join

(PHP 4, PHP 5, PHP 7)

join别名 implode()

说明

此函数是该函数的别名: implode().

User Contributed Notes

ashish at bugdecode dot com 24-Jul-2019 05:27
$arr = array('Hello','World!','Beautiful','Day!');
echo join(" ",$arr);

result will be
Hello World! Beautiful Day!

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788