René's URL Explorer Experiment


Title: PHP: each - Manual

X Title: PHP: each - Manual

Open Graph Description: Return the current key and value pair from an array and advance the array cursor

X Description: Return the current key and value pair from an array and advance the array cursor

X: @official_php

direct link

Domain: www.php.net

DescriptionReturn the current key and value pair from an array and advance the array cursor
twitter:cardsummary_large_image
twitter:creator@official_php
twitter:image:srchttps://www.php.net/images/meta-image.png
Nonehttps://www.php.net/images/meta-image.png
og:imagehttps://www.php.net/images/meta-image.png

Links:

update page nowhttps://www.php.net/x-myracloud-5958a2bbbed300a9b9ac631223924e0b/1768186510.629
https://www.php.net/
Downloads https://www.php.net/downloads.php
Documentation https://www.php.net/docs.php
Get Involved https://www.php.net/get-involved.php
Help https://www.php.net/support.php
https://www.php.net/releases/8.5/index.php
https://www.php.net/lookup-form.php
https://www.php.net/menu.php
Getting Startedhttps://www.php.net/manual/en/getting-started.php
Introductionhttps://www.php.net/manual/en/introduction.php
A simple tutorialhttps://www.php.net/manual/en/tutorial.php
Language Referencehttps://www.php.net/manual/en/langref.php
Basic syntaxhttps://www.php.net/manual/en/language.basic-syntax.php
Typeshttps://www.php.net/manual/en/language.types.php
Variableshttps://www.php.net/manual/en/language.variables.php
Constantshttps://www.php.net/manual/en/language.constants.php
Expressionshttps://www.php.net/manual/en/language.expressions.php
Operatorshttps://www.php.net/manual/en/language.operators.php
Control Structureshttps://www.php.net/manual/en/language.control-structures.php
Functionshttps://www.php.net/manual/en/language.functions.php
Classes and Objectshttps://www.php.net/manual/en/language.oop5.php
Namespaceshttps://www.php.net/manual/en/language.namespaces.php
Enumerationshttps://www.php.net/manual/en/language.enumerations.php
Errorshttps://www.php.net/manual/en/language.errors.php
Exceptionshttps://www.php.net/manual/en/language.exceptions.php
Fibershttps://www.php.net/manual/en/language.fibers.php
Generatorshttps://www.php.net/manual/en/language.generators.php
Attributeshttps://www.php.net/manual/en/language.attributes.php
References Explainedhttps://www.php.net/manual/en/language.references.php
Predefined Variableshttps://www.php.net/manual/en/reserved.variables.php
Predefined Exceptionshttps://www.php.net/manual/en/reserved.exceptions.php
Predefined Interfaces and Classeshttps://www.php.net/manual/en/reserved.interfaces.php
Predefined Attributeshttps://www.php.net/manual/en/reserved.attributes.php
Context options and parametershttps://www.php.net/manual/en/context.php
Supported Protocols and Wrappershttps://www.php.net/manual/en/wrappers.php
Securityhttps://www.php.net/manual/en/security.php
Introductionhttps://www.php.net/manual/en/security.intro.php
General considerationshttps://www.php.net/manual/en/security.general.php
Installed as CGI binaryhttps://www.php.net/manual/en/security.cgi-bin.php
Installed as an Apache modulehttps://www.php.net/manual/en/security.apache.php
Session Securityhttps://www.php.net/manual/en/security.sessions.php
Filesystem Securityhttps://www.php.net/manual/en/security.filesystem.php
Database Securityhttps://www.php.net/manual/en/security.database.php
Error Reportinghttps://www.php.net/manual/en/security.errors.php
User Submitted Datahttps://www.php.net/manual/en/security.variables.php
Hiding PHPhttps://www.php.net/manual/en/security.hiding.php
Keeping Currenthttps://www.php.net/manual/en/security.current.php
Featureshttps://www.php.net/manual/en/features.php
HTTP authentication with PHPhttps://www.php.net/manual/en/features.http-auth.php
Cookieshttps://www.php.net/manual/en/features.cookies.php
Sessionshttps://www.php.net/manual/en/features.sessions.php
Handling file uploadshttps://www.php.net/manual/en/features.file-upload.php
Using remote fileshttps://www.php.net/manual/en/features.remote-files.php
Connection handlinghttps://www.php.net/manual/en/features.connection-handling.php
Persistent Database Connectionshttps://www.php.net/manual/en/features.persistent-connections.php
Command line usagehttps://www.php.net/manual/en/features.commandline.php
Garbage Collectionhttps://www.php.net/manual/en/features.gc.php
DTrace Dynamic Tracinghttps://www.php.net/manual/en/features.dtrace.php
Function Referencehttps://www.php.net/manual/en/funcref.php
Affecting PHP's Behaviourhttps://www.php.net/manual/en/refs.basic.php.php
Audio Formats Manipulationhttps://www.php.net/manual/en/refs.utilspec.audio.php
Authentication Serviceshttps://www.php.net/manual/en/refs.remote.auth.php
Command Line Specific Extensionshttps://www.php.net/manual/en/refs.utilspec.cmdline.php
Compression and Archive Extensionshttps://www.php.net/manual/en/refs.compression.php
Cryptography Extensionshttps://www.php.net/manual/en/refs.crypto.php
Database Extensionshttps://www.php.net/manual/en/refs.database.php
Date and Time Related Extensionshttps://www.php.net/manual/en/refs.calendar.php
File System Related Extensionshttps://www.php.net/manual/en/refs.fileprocess.file.php
Human Language and Character Encoding Supporthttps://www.php.net/manual/en/refs.international.php
Image Processing and Generationhttps://www.php.net/manual/en/refs.utilspec.image.php
Mail Related Extensionshttps://www.php.net/manual/en/refs.remote.mail.php
Mathematical Extensionshttps://www.php.net/manual/en/refs.math.php
Non-Text MIME Outputhttps://www.php.net/manual/en/refs.utilspec.nontext.php
Process Control Extensionshttps://www.php.net/manual/en/refs.fileprocess.process.php
Other Basic Extensionshttps://www.php.net/manual/en/refs.basic.other.php
Other Serviceshttps://www.php.net/manual/en/refs.remote.other.php
Search Engine Extensionshttps://www.php.net/manual/en/refs.search.php
Server Specific Extensionshttps://www.php.net/manual/en/refs.utilspec.server.php
Session Extensionshttps://www.php.net/manual/en/refs.basic.session.php
Text Processinghttps://www.php.net/manual/en/refs.basic.text.php
Variable and Type Related Extensionshttps://www.php.net/manual/en/refs.basic.vartype.php
Web Serviceshttps://www.php.net/manual/en/refs.webservice.php
Windows Only Extensionshttps://www.php.net/manual/en/refs.utilspec.windows.php
XML Manipulationhttps://www.php.net/manual/en/refs.xml.php
GUI Extensionshttps://www.php.net/manual/en/refs.ui.php
end » https://www.php.net/function.end.php
« current https://www.php.net/function.current.php
PHP Manualhttps://www.php.net/index.php
Function Referencehttps://www.php.net/funcref.php
Variable and Type Related Extensionshttps://www.php.net/refs.basic.vartype.php
Arrayshttps://www.php.net/book.array.php
Array Functionshttps://www.php.net/ref.array.php
arrayhttps://www.php.net/language.types.array.php
objecthttps://www.php.net/language.types.object.php
arrayhttps://www.php.net/language.types.array.php
reset()https://www.php.net/function.reset.php
falsehttps://www.php.net/reserved.constants.php#constant.false
list()https://www.php.net/function.list.php
key()https://www.php.net/function.key.php
list()https://www.php.net/function.list.php
current()https://www.php.net/function.current.php
reset()https://www.php.net/function.reset.php
next()https://www.php.net/function.next.php
prev()https://www.php.net/function.prev.php
foreachhttps://www.php.net/control-structures.foreach.php
Object Iterationhttps://www.php.net/language.oop5.iterations.php
Learn How To Improve This Pagehttps://github.com/php/doc-base/blob/master/README.md
Submit a Pull Requesthttps://github.com/php/doc-en/blob/master/reference/array/functions/each.xml
Report a Bughttps://github.com/php/doc-en/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Ffunction.each%0A%0A---
+add a notehttps://www.php.net/manual/add-note.php?sect=function.each&repo=en&redirect=https://www.php.net/manual/en/function.each.php
uphttps://www.php.net/manual/vote-note.php?id=127902&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=127902&page=function.each&vote=down
janhshhttps://www.php.net/function.each.php#127902
https://www.php.net/function.each.php#127902
uphttps://www.php.net/manual/vote-note.php?id=75692&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=75692&page=function.each&vote=down
wolfeym38 at yahoo dot comhttps://www.php.net/function.each.php#75692
https://www.php.net/function.each.php#75692
uphttps://www.php.net/manual/vote-note.php?id=123985&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=123985&page=function.each&vote=down
phpcoder at gmail dot comhttps://www.php.net/function.each.php#123985
https://www.php.net/function.each.php#123985
https://wiki.php.net/rfc/deprecations_php_7_2#eachhttps://wiki.php.net/rfc/deprecations_php_7_2#each
uphttps://www.php.net/manual/vote-note.php?id=126076&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=126076&page=function.each&vote=down
dmikamhttps://www.php.net/function.each.php#126076
https://www.php.net/function.each.php#126076
uphttps://www.php.net/manual/vote-note.php?id=124673&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=124673&page=function.each&vote=down
man13or at hotmail dot frhttps://www.php.net/function.each.php#124673
https://www.php.net/function.each.php#124673
uphttps://www.php.net/manual/vote-note.php?id=63805&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=63805&page=function.each&vote=down
sjoerd-php at linuxonly dot nlhttps://www.php.net/function.each.php#63805
https://www.php.net/function.each.php#63805
uphttps://www.php.net/manual/vote-note.php?id=124154&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=124154&page=function.each&vote=down
Henk Poleyhttps://www.php.net/function.each.php#124154
https://www.php.net/function.each.php#124154
https://github.com/rectorphp/rector/blob/master/docs/AllRectorsOverview.md#listeachrectorhttps://github.com/rectorphp/rector/blob/master/docs/AllRectorsOverview.md#listeachrector
uphttps://www.php.net/manual/vote-note.php?id=55044&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=55044&page=function.each&vote=down
Sopinonhttps://www.php.net/function.each.php#55044
https://www.php.net/function.each.php#55044
uphttps://www.php.net/manual/vote-note.php?id=47090&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=47090&page=function.each&vote=down
james at gogo dot co dot nzhttps://www.php.net/function.each.php#47090
https://www.php.net/function.each.php#47090
uphttps://www.php.net/manual/vote-note.php?id=75069&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=75069&page=function.each&vote=down
michael k (name der redaktion bekannt.)https://www.php.net/function.each.php#75069
https://www.php.net/function.each.php#75069
uphttps://www.php.net/manual/vote-note.php?id=123005&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=123005&page=function.each&vote=down
Anonymoushttps://www.php.net/function.each.php#123005
https://www.php.net/function.each.php#123005
uphttps://www.php.net/manual/vote-note.php?id=59368&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=59368&page=function.each&vote=down
matthew at mhalls dot nethttps://www.php.net/function.each.php#59368
https://www.php.net/function.each.php#59368
uphttps://www.php.net/manual/vote-note.php?id=24026&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=24026&page=function.each&vote=down
wodzuY2k at anronet dot plhttps://www.php.net/function.each.php#24026
https://www.php.net/function.each.php#24026
uphttps://www.php.net/manual/vote-note.php?id=96014&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=96014&page=function.each&vote=down
massimo dot modica at tin dot ithttps://www.php.net/function.each.php#96014
https://www.php.net/function.each.php#96014
uphttps://www.php.net/manual/vote-note.php?id=19004&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=19004&page=function.each&vote=down
Anonymoushttps://www.php.net/function.each.php#19004
https://www.php.net/function.each.php#19004
uphttps://www.php.net/manual/vote-note.php?id=59045&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=59045&page=function.each&vote=down
amby2 at izh dot comhttps://www.php.net/function.each.php#59045
https://www.php.net/function.each.php#59045
uphttps://www.php.net/manual/vote-note.php?id=10962&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=10962&page=function.each&vote=down
tk at turtle-entertainment dot dehttps://www.php.net/function.each.php#10962
https://www.php.net/function.each.php#10962
uphttps://www.php.net/manual/vote-note.php?id=122603&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=122603&page=function.each&vote=down
13975001197 at 163 dot comhttps://www.php.net/function.each.php#122603
https://www.php.net/function.each.php#122603
uphttps://www.php.net/manual/vote-note.php?id=21776&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=21776&page=function.each&vote=down
Gillis at dancrea dot comhttps://www.php.net/function.each.php#21776
https://www.php.net/function.each.php#21776
uphttps://www.php.net/manual/vote-note.php?id=82486&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=82486&page=function.each&vote=down
php at omit dot ianco dot co dot ukhttps://www.php.net/function.each.php#82486
https://www.php.net/function.each.php#82486
uphttps://www.php.net/manual/vote-note.php?id=102983&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=102983&page=function.each&vote=down
gavielhttps://www.php.net/function.each.php#102983
https://www.php.net/function.each.php#102983
uphttps://www.php.net/manual/vote-note.php?id=9273&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=9273&page=function.each&vote=down
kris at angelanthony dot comhttps://www.php.net/function.each.php#9273
https://www.php.net/function.each.php#9273
uphttps://www.php.net/manual/vote-note.php?id=117582&page=function.each&vote=up
downhttps://www.php.net/manual/vote-note.php?id=117582&page=function.each&vote=down
nino dot skopac at gmail dot comhttps://www.php.net/function.each.php#117582
https://www.php.net/function.each.php#117582
+add a notehttps://www.php.net/manual/add-note.php?sect=function.each&repo=en&redirect=https://www.php.net/manual/en/function.each.php
Array Functionshttps://www.php.net/ref.array.php
arrayhttps://www.php.net/function.array.php
array_​allhttps://www.php.net/function.array-all.php
array_​anyhttps://www.php.net/function.array-any.php
array_​change_​key_​casehttps://www.php.net/function.array-change-key-case.php
array_​chunkhttps://www.php.net/function.array-chunk.php
array_​columnhttps://www.php.net/function.array-column.php
array_​combinehttps://www.php.net/function.array-combine.php
array_​count_​valueshttps://www.php.net/function.array-count-values.php
array_​diffhttps://www.php.net/function.array-diff.php
array_​diff_​assochttps://www.php.net/function.array-diff-assoc.php
array_​diff_​keyhttps://www.php.net/function.array-diff-key.php
array_​diff_​uassochttps://www.php.net/function.array-diff-uassoc.php
array_​diff_​ukeyhttps://www.php.net/function.array-diff-ukey.php
array_​fillhttps://www.php.net/function.array-fill.php
array_​fill_​keyshttps://www.php.net/function.array-fill-keys.php
array_​filterhttps://www.php.net/function.array-filter.php
array_​findhttps://www.php.net/function.array-find.php
array_​find_​keyhttps://www.php.net/function.array-find-key.php
array_​firsthttps://www.php.net/function.array-first.php
array_​fliphttps://www.php.net/function.array-flip.php
array_​intersecthttps://www.php.net/function.array-intersect.php
array_​intersect_​assochttps://www.php.net/function.array-intersect-assoc.php
array_​intersect_​keyhttps://www.php.net/function.array-intersect-key.php
array_​intersect_​uassochttps://www.php.net/function.array-intersect-uassoc.php
array_​intersect_​ukeyhttps://www.php.net/function.array-intersect-ukey.php
array_​is_​listhttps://www.php.net/function.array-is-list.php
array_​key_​existshttps://www.php.net/function.array-key-exists.php
array_​key_​firsthttps://www.php.net/function.array-key-first.php
array_​key_​lasthttps://www.php.net/function.array-key-last.php
array_​keyshttps://www.php.net/function.array-keys.php
array_​lasthttps://www.php.net/function.array-last.php
array_​maphttps://www.php.net/function.array-map.php
array_​mergehttps://www.php.net/function.array-merge.php
array_​merge_​recursivehttps://www.php.net/function.array-merge-recursive.php
array_​multisorthttps://www.php.net/function.array-multisort.php
array_​padhttps://www.php.net/function.array-pad.php
array_​pophttps://www.php.net/function.array-pop.php
array_​producthttps://www.php.net/function.array-product.php
array_​pushhttps://www.php.net/function.array-push.php
array_​randhttps://www.php.net/function.array-rand.php
array_​reducehttps://www.php.net/function.array-reduce.php
array_​replacehttps://www.php.net/function.array-replace.php
array_​replace_​recursivehttps://www.php.net/function.array-replace-recursive.php
array_​reversehttps://www.php.net/function.array-reverse.php
array_​searchhttps://www.php.net/function.array-search.php
array_​shifthttps://www.php.net/function.array-shift.php
array_​slicehttps://www.php.net/function.array-slice.php
array_​splicehttps://www.php.net/function.array-splice.php
array_​sumhttps://www.php.net/function.array-sum.php
array_​udiffhttps://www.php.net/function.array-udiff.php
array_​udiff_​assochttps://www.php.net/function.array-udiff-assoc.php
array_​udiff_​uassochttps://www.php.net/function.array-udiff-uassoc.php
array_​uintersecthttps://www.php.net/function.array-uintersect.php
array_​uintersect_​assochttps://www.php.net/function.array-uintersect-assoc.php
array_​uintersect_​uassochttps://www.php.net/function.array-uintersect-uassoc.php
array_​uniquehttps://www.php.net/function.array-unique.php
array_​unshifthttps://www.php.net/function.array-unshift.php
array_​valueshttps://www.php.net/function.array-values.php
array_​walkhttps://www.php.net/function.array-walk.php
array_​walk_​recursivehttps://www.php.net/function.array-walk-recursive.php
arsorthttps://www.php.net/function.arsort.php
asorthttps://www.php.net/function.asort.php
compacthttps://www.php.net/function.compact.php
counthttps://www.php.net/function.count.php
currenthttps://www.php.net/function.current.php
endhttps://www.php.net/function.end.php
extracthttps://www.php.net/function.extract.php
in_​arrayhttps://www.php.net/function.in-array.php
keyhttps://www.php.net/function.key.php
key_​existshttps://www.php.net/function.key-exists.php
krsorthttps://www.php.net/function.krsort.php
ksorthttps://www.php.net/function.ksort.php
listhttps://www.php.net/function.list.php
natcasesorthttps://www.php.net/function.natcasesort.php
natsorthttps://www.php.net/function.natsort.php
nexthttps://www.php.net/function.next.php
poshttps://www.php.net/function.pos.php
prevhttps://www.php.net/function.prev.php
rangehttps://www.php.net/function.range.php
resethttps://www.php.net/function.reset.php
rsorthttps://www.php.net/function.rsort.php
shufflehttps://www.php.net/function.shuffle.php
sizeofhttps://www.php.net/function.sizeof.php
sorthttps://www.php.net/function.sort.php
uasorthttps://www.php.net/function.uasort.php
uksorthttps://www.php.net/function.uksort.php
usorthttps://www.php.net/function.usort.php
eachhttps://www.php.net/function.each.php
Copyright © 2001-2026 The PHP Documentation Grouphttps://www.php.net/manual/en/copyright.php
My PHP.nethttps://www.php.net/my.php
Contacthttps://www.php.net/contact.php
Other PHP.net siteshttps://www.php.net/sites.php
Privacy policyhttps://www.php.net/privacy.php
javascript:;

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.