|
SplFixedArray::setSizeChange the size of an array Beschreibung
public int SplFixedArray::setSize
( int
$size
)
Change the size of an array to the new size of Parameter-Liste
RückgabewerteEs wird kein Wert zurückgegeben. Fehler/Exceptions
Throws InvalidArgumentException when
Raises Beispiele
Beispiel #1 SplFixedArray::setSize example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 5 10 |