1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

3 Commits

Author SHA1 Message Date
George Peter Banyard
e9e06279c1 Refactor SplFixedArray (#7168)
* Move spl_offset_convert_to_long() to spl_fixedarray.c

It is only used there, which explains its weird offset semantics

* Refactor SplFixedArray offset handling
- Implement warning for resource type
- Throw a proper TypeError instead of a RuntimeException

* Use a proper Error to signal that [] cannot be used with SplFixedArray

* Refactor SplFixedArray has_dimension helper

* Drop some ZPP tests
2021-06-18 15:22:52 +01:00
Nikita Popov
f8d795820e Reindent phpt files 2020-02-03 22:52:20 +01:00
Etienne Kneuss
c6472bfd80 Rename everything from SplFastArray to SplFixedArray 2008-06-18 14:54:28 +00:00