diff --git a/reference/spl/splfixedarray.xml b/reference/spl/splfixedarray.xml index a486513f0987..12d3ec714f1b 100644 --- a/reference/spl/splfixedarray.xml +++ b/reference/spl/splfixedarray.xml @@ -72,6 +72,14 @@ + + 8.2.0 + + The SplFixedArray::__serialize and + SplFixedArray::__unserialize + magic methods have been added to SplFixedArray. + + 8.1.0 diff --git a/reference/spl/splfixedarray/getiterator.xml b/reference/spl/splfixedarray/getiterator.xml new file mode 100644 index 000000000000..a414dca42214 --- /dev/null +++ b/reference/spl/splfixedarray/getiterator.xml @@ -0,0 +1,53 @@ + + + + + SplFixedArray::getIterator + Retrieve the iterator to go through the array + + + + &reftitle.description; + + public IteratorSplFixedArray::getIterator + + + + Returns the iterator to go through the array. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + An instance of an object implementing Iterator to go + through the array. + + + + + diff --git a/reference/spl/splfixedarray/jsonserialize.xml b/reference/spl/splfixedarray/jsonserialize.xml new file mode 100644 index 000000000000..7c849627b616 --- /dev/null +++ b/reference/spl/splfixedarray/jsonserialize.xml @@ -0,0 +1,54 @@ + + + + + SplFixedArray::jsonSerialize + Returns a representation that can be converted to JSON + + + + &reftitle.description; + + public mixedSplFixedArray::jsonSerialize + + + + Serializes the array to a value that can be serialized natively by + json_encode. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Returns array data which can be serialized by json_encode, + which is a value of any type other than a &resource;. + + + + + diff --git a/reference/spl/splfixedarray/serialize.xml b/reference/spl/splfixedarray/serialize.xml new file mode 100644 index 000000000000..a1db009b8603 --- /dev/null +++ b/reference/spl/splfixedarray/serialize.xml @@ -0,0 +1,54 @@ + + + + SplFixedArray::__serialize + Serializes the SplFixedArray object + + + + &reftitle.description; + + public arraySplFixedArray::__serialize + + + + + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + &return.void; + + + + + diff --git a/reference/spl/splfixedarray/unserialize.xml b/reference/spl/splfixedarray/unserialize.xml new file mode 100644 index 000000000000..ce428327d48c --- /dev/null +++ b/reference/spl/splfixedarray/unserialize.xml @@ -0,0 +1,63 @@ + + + + SplFixedArray::__unserialize + Deserializes the data parameter into an SplFixedArray object + + + + &reftitle.description; + + public voidSplFixedArray::__unserialize + arraydata + + + + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + + + data + + + The value being deserialized. + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + diff --git a/reference/spl/versions.xml b/reference/spl/versions.xml index 10ce3d1e730d..9468a4f10848 100644 --- a/reference/spl/versions.xml +++ b/reference/spl/versions.xml @@ -933,11 +933,15 @@ + + + +