mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
e9e06279c1
* 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
6 lines
514 B
Plaintext
6 lines
514 B
Plaintext
PHP_NEW_EXTENSION(spl, php_spl.c spl_functions.c spl_iterators.c spl_array.c spl_directory.c spl_exceptions.c spl_observer.c spl_dllist.c spl_heap.c spl_fixedarray.c, no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
|
|
PHP_INSTALL_HEADERS([ext/spl], [php_spl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl_observer.h spl_dllist.h spl_heap.h spl_fixedarray.h])
|
|
PHP_ADD_EXTENSION_DEP(spl, pcre, true)
|
|
PHP_ADD_EXTENSION_DEP(spl, standard, true)
|
|
PHP_ADD_EXTENSION_DEP(spl, json)
|