主页
PHP
PHP key() 函数
tryphp_func_array_key
运行 ❯
×
更改方向
保存代码
更改主题
<?php $people=array("Peter","Joe","Glenn","Cleveland"); echo "The key from the current position is: " . key($people); ?>