note 128211 added to class.splfixedarray
| From: | CK at main dot php dot net | Date: | Sun, 12 Feb 2023 13:51:08 +0000 |
| Subject: | note 128211 added to class.splfixedarray | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220167@lists.php.net to get a copy of this message | ||
Be warned that SplFixedArray does not provide all of the main functionalities of array. For example,
it does not support array_slice. SplFixedArray should be far more efficient at supporting such array
operations than normal arrays (since it should be simply a contiguous slice). Check that all your
main array functions are really supported before trying to use SplFixedArray instead of array. With
JIT in PHP8, some loops to polyfill these are perhaps now realistic, but still not as fast as native
functions.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.130 (proxied: 82.68.19.214)
----
Manual Page -- https://php.net/manual/en/class.splfixedarray.php
Edit -- https://main.php.net/note/edit/128211
Del: integrated -- https://main.php.net/note/delete/128211/integrated
Del: useless -- https://main.php.net/note/delete/128211/useless
Del: bad code -- https://main.php.net/note/delete/128211/bad+code
Del: spam -- https://main.php.net/note/delete/128211/spam
Del: non-english -- https://main.php.net/note/delete/128211/non-english
Del: in docs -- https://main.php.net/note/delete/128211/in+docs
Del: other reasons-- https://main.php.net/note/delete/128211
Reject -- https://main.php.net/note/reject/128211
Search -- https://main.php.net/manage/user-notes.php