mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.1'
This commit is contained in:
commit
0e88f749ff
8 changed files with 112 additions and 116 deletions
|
@ -267,8 +267,17 @@ ZEND_API int zend_get_resource_handle(const char *module_name)
|
|||
|
||||
ZEND_API int zend_get_op_array_extension_handle(const char *module_name)
|
||||
{
|
||||
int handle = zend_op_array_extension_handles++;
|
||||
zend_add_system_entropy(module_name, "zend_get_op_array_extension_handle", &zend_op_array_extension_handles, sizeof(int));
|
||||
return zend_op_array_extension_handles++;
|
||||
return handle;
|
||||
}
|
||||
|
||||
ZEND_API int zend_get_op_array_extension_handles(const char *module_name, int handles)
|
||||
{
|
||||
int handle = zend_op_array_extension_handles;
|
||||
zend_op_array_extension_handles += handles;
|
||||
zend_add_system_entropy(module_name, "zend_get_op_array_extension_handle", &zend_op_array_extension_handles, sizeof(int));
|
||||
return handle;
|
||||
}
|
||||
|
||||
ZEND_API zend_extension *zend_get_extension(const char *extension_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue