|
Ds\Queue::toArrayConverts the queue to an array. Beschreibung
public array Ds\Queue::toArray
( void
)
Converts the queue to an array.
Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteAn array containing all the values in the same order as the queue. BeispieleBeispiel #1 Ds\Queue::toArray example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
|