WordPress at Your Fingertips
function is not described

SplFixedArray::current() public WP 5.3.0

Return current array entry

{} It's a method of the class: SplFixedArray{}

No Hooks.

Return

Mixed. The current element value.

Usage

$SplFixedArray = new SplFixedArray();
$SplFixedArray->current();

Changelog

Since 5.3.0 Introduced.

Code of SplFixedArray::current() WP 5.8.2

public function current()
{
    /** @psalm-suppress MixedReturnStatement */
    return current($this->internalArray);
}