That means it returns the next array value and advances the internal array pointer by one.
Cela signifie qu'il retourne la prochaine valeur du tableau et avance le pointeur interne d'un élément.
foreach has some side effects on the array pointer.
It advances the internal array pointer one place forward before returning the element value.
Il avance le pointeur interne du tableau d'un élément, avant de retourner la valeur de l'élément.
The next line moves the array pointer to a and adds one to it, producing 101, a lower-case 'e', which is then output.
La ligne suivante déplace le pointeur vers a et l'incrémente de 1, le résultat, 101, correspondant à 'e', qui est alors affiché.
Therefore, the array pointer is not modified as with the each() construct, and changes to the array element returned are not reflected in the original array.
Par conséquent, le pointeur de tableau n'est pas modifié, comme il le serait avec le fonction each(), et les modifications faites dans le tableau ne seront pas prises en compte dans le tableau original.
prev() behaves just like next(), except it rewinds the internal array pointer one place instead of advancing it.
prev() se comporte exactement comme next(), mais elle fait reculer le pointeur plutôt que de l'avancer.
On each loop, the value of the current element is assigned to $value and the internal array pointer is advanced by one (so on the next loop, you'll be looking at the next element).
A chaque itération, la valeur de l'élément courant est assignée à $value et le pointeur interne de tableau est avancé d'un élément (ce qui fait qu'à la prochaine itération, on accédera à l'élément suivant).
The array pointer can be null when there are no binary parameters.
Note: When foreach first starts executing, the internal array pointer is automatically reset to the first element of the array.
Note: Lorsque foreach démarre, le pointeur interne de fichier est automatiquement ramené au premier élément du tableau.
In PHP 7, foreach does not use the internal array pointer.
Note: This function will reset() the array pointer after use.
Note: Cette fonction remet le pointeur au début du tableau (équivalent de reset()).
If advancing the internal array pointer results in going beyond the end of the element list, next() returns FALSE.
The array pointer may be null when there are no binary parameters. paramFormats[] specifies whether parameters are text (put a zero in the array) or binary (put a one in the array).
paramFormats[] Spécifie si les paramètres sont du texte (placez un zéro dans la ligne du tableau pour le paramètre correspondant) ou binaire (placez un un dans la ligne du tableau pour le paramètre correspondant).