★ wanayoo — archive 1999 http://www.php.net/manual/it/function.key.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Arrays
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageFrench version of this pageHungarian version of this page
Arrays
* array
* array_count_values
* array_flip
* array_keys
* array_merge
* array_pad
* array_pop
* array_push
* array_reverse
* array_shift
* array_slice
* array_splice
* array_unshift
* array_values
* array_walk
* arsort
* asort
* compact
* count
* current
* each
* end
* extract
* in_array
* key
* krsort
* ksort
* list
* next
* pos
* prev
* range
* reset
* rsort
* shuffle
* sizeof
* sort
* uasort
* uksort
* usort
Manual: key
View the source code for this pageSearch the site



Previous page
 in_array
 Updated
Sun, 06 Aug 2000
krsort 
Next page


key

(PHP3 , PHP4 )

key -- Fetch a key from an associative array

Description

mixed key (array array)

key() returns the index element of the current array position.

See also: current(), next()


 About Notes


Previous page
 in_array
 Updated
Sun, 06 Aug 2000
krsort 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.