File tree Expand file tree Collapse file tree 3 files changed +0
-27
lines changed Expand file tree Collapse file tree 3 files changed +0
-27
lines changed Original file line number Diff line number Diff line change 38
38
#include "zend_interfaces.h"
39
39
#include "main/snprintf.h"
40
40
41
- #ifdef COMPILE_DL_SPL
42
- ZEND_GET_MODULE (spl )
43
- #endif
44
-
45
41
ZEND_TLS zend_string * spl_autoload_extensions ;
46
42
ZEND_TLS HashTable * spl_autoload_functions ;
47
43
Original file line number Diff line number Diff line change 25
25
extern zend_module_entry spl_module_entry ;
26
26
#define phpext_spl_ptr &spl_module_entry
27
27
28
- #ifdef PHP_WIN32
29
- # ifdef SPL_EXPORTS
30
- # define SPL_API __declspec(dllexport)
31
- # elif defined(COMPILE_DL_SPL )
32
- # define SPL_API __declspec(dllimport)
33
- # else
34
- # define SPL_API /* nothing */
35
- # endif
36
- #elif defined(__GNUC__ ) && __GNUC__ >= 4
37
- # define SPL_API __attribute__ ((visibility("default")))
38
- #else
39
- # define SPL_API
40
- #endif
41
-
42
- #if defined(PHP_WIN32 ) && !defined(COMPILE_DL_SPL )
43
- #undef phpext_spl
44
- #define phpext_spl NULL
45
- #endif
46
-
47
28
PHP_MINIT_FUNCTION (spl );
48
29
PHP_MSHUTDOWN_FUNCTION (spl );
49
30
PHP_RINIT_FUNCTION (spl );
Original file line number Diff line number Diff line change 36
36
static zend_object_handlers spl_handler_SplFixedArray ;
37
37
PHPAPI zend_class_entry * spl_ce_SplFixedArray ;
38
38
39
- #ifdef COMPILE_DL_SPL_FIXEDARRAY
40
- ZEND_GET_MODULE (spl_fixedarray )
41
- #endif
42
-
43
39
/* Check if the object is an instance of a subclass of SplFixedArray that overrides method's implementation.
44
40
* Expect subclassing SplFixedArray to be rare and check that first. */
45
41
#define HAS_FIXEDARRAY_ARRAYACCESS_OVERRIDE (object , method ) UNEXPECTED((object)->ce != spl_ce_SplFixedArray && (object)->ce->arrayaccess_funcs_ptr->method->common.scope != spl_ce_SplFixedArray)
You can’t perform that action at this time.
0 commit comments