From c55a1585eca1d7b6a0a58c09dd19c2f4a275fecb Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Tue, 29 Dec 2020 12:06:10 -0500 Subject: [PATCH] Make SplFixedArray intro say it can be resized SplFixedArray::setSize exists. The name is misleading. --- reference/spl/splfixedarray.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/spl/splfixedarray.xml b/reference/spl/splfixedarray.xml index 23332dc040bc..97ae525dcfb5 100644 --- a/reference/spl/splfixedarray.xml +++ b/reference/spl/splfixedarray.xml @@ -11,8 +11,8 @@ &reftitle.intro; The SplFixedArray class provides the main functionalities of array. The - main differences between a SplFixedArray and a normal PHP array is that - the SplFixedArray is of fixed length and allows only integers within + main difference between a SplFixedArray and a normal PHP array is that + the SplFixedArray must be resized manually and allows only integers within the range as indexes. The advantage is that it uses less memory than a standard array.