PHP
SPL

SplFixedArray::offsetExists

SplFixedArray::offsetExists

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::offsetExists — Returns whether the requested index exists

Description

public bool SplFixedArray::offsetExists ( int $index )

Checks whether the requested index index exists.

Parameters

index

The index being checked.

Return Values

TRUE if the requested index exists, otherwise FALSE

← SplFixedArray::next

SplFixedArray::offsetGet →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/splfixedarray.offsetexists.php