|
Ds\Set::copyReturns a shallow copy of the set. Beschreibung
public Ds\Set Ds\Set::copy
( void
)
Returns a shallow copy of the set. Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteReturns a shallow copy of the set. BeispieleBeispiel #1 Ds\Set::copy example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
Ds\Set Object
(
[0] => 1
[1] => 2
[2] => 3
)
Ds\Set Object
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
)
|