PHP Manual

  • English French German Portuguese Spanish
PHP Manual Function Reference Other Basic Extensions SPL Datastructures SplFixedArray SplFixedArray::key
SplFixedArray SplFixedArray::__construct SplFixedArray::count SplFixedArray::current SplFixedArray::fromArray SplFixedArray::getSize SplFixedArray::key SplFixedArray::next SplFixedArray::offsetExists SplFixedArray::offsetGet SplFixedArray::offsetSet SplFixedArray::offsetUnset SplFixedArray::rewind SplFixedArray::setSize SplFixedArray::toArray SplFixedArray::valid SplFixedArray::__wakeup
  • SplFixedArray::getSize
  • SplFixedArray::next

SplFixedArray::key

(PHP 5 >= 5.3.0)

SplFixedArray::key — Return current array index

Description

public int SplFixedArray::key ( void )

Returns the current array index.

Parameters

This function has no parameters.

Return Values

The current array index.

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.