Func array current:修订历史

本页内容
上一节: Func_array_count 下一节: Func_array_each

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

    2022年8月17日 (星期三)

    • 当前之前 22:112022年8月17日 (三) 22:11Neo 讨论 贡献 2,601字节 +2,601 创建页面,内容为“{{DISPLAYTITLE:current()}}58 = PHP current() 函数 = 完整的 PHP Array 参考手册 输出数组中的当前元素的值: <sample title="" desc="" lang="php" hererun="1">example_start <?php $people = array("Peter", "Joe", "Glenn", "Cleveland"); echo current($people) . "<br>"; ?> example_end</sample> == 定义和用法 == current() 函数返回数组中的当前元素的值。 每个数组中都有一个…”
上一节: Func_array_count 下一节: Func_array_each