mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
- More exact signatures (even though complete correct not possible atm)
This commit is contained in:
parent
c3957fe1e8
commit
c6e39471de
@ -484,19 +484,24 @@ zend_function_entry zend_funcs_iterator[] = {
|
||||
zend_function_entry *zend_funcs_traversable = NULL;
|
||||
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO(arginfo_arrayaccess_offset, 0)
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_arrayaccess_offset, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, offset)
|
||||
ZEND_END_ARG_INFO();
|
||||
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO(arginfo_arrayaccess_offset_value, 0)
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_arrayaccess_offset_get, 0, 0, 1) /* actually this should be return by ref but atm cannot be */
|
||||
ZEND_ARG_INFO(0, offset)
|
||||
ZEND_END_ARG_INFO();
|
||||
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_arrayaccess_offset_value, 0, 0, 2)
|
||||
ZEND_ARG_INFO(0, offset)
|
||||
ZEND_ARG_INFO(0, value)
|
||||
ZEND_END_ARG_INFO();
|
||||
|
||||
zend_function_entry zend_funcs_arrayaccess[] = {
|
||||
ZEND_ABSTRACT_ME(arrayaccess, offsetExists, arginfo_arrayaccess_offset)
|
||||
ZEND_ABSTRACT_ME(arrayaccess, offsetGet, arginfo_arrayaccess_offset)
|
||||
ZEND_ABSTRACT_ME(arrayaccess, offsetGet, arginfo_arrayaccess_offset_get)
|
||||
ZEND_ABSTRACT_ME(arrayaccess, offsetSet, arginfo_arrayaccess_offset_value)
|
||||
ZEND_ABSTRACT_ME(arrayaccess, offsetUnset, arginfo_arrayaccess_offset)
|
||||
{NULL, NULL, NULL}
|
||||
|
Loading…
Reference in New Issue
Block a user