reset() 將array 的內(nèi)部指針倒回到第一個(gè)單元并返回第一個(gè)數(shù)組單元的值,如果數(shù)組為空則返回 FALSE。 例子1. reset() 例子 <?php$array = array('step one', 'step two', 'step three', 'step four');// by default, the pointer is on the first elementecho current($array) . "\n"; // "...
www.dbjr.com.cn/shouce/php5/zh/functi... 2025-5-21