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