SplFixedArray::valid

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::validCheck whether the array contains more elements

說明

public SplFixedArray::valid(): bool

Checks if the array contains any more elements.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns true if the array contains any more elements, false otherwise.