History log of /PHP-8.0/Zend/zend_API.h (Results 76 – 100 of 609)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9e8ba789 19-Sep-2019 Nikita Popov

Change representation of zend_type from type code to MAY_BE_* mask

This switches zend_type from storing a single IS_* type code to
storing a MAY_BE_* type mask. Right now most code still

Change representation of zend_type from type code to MAY_BE_* mask

This switches zend_type from storing a single IS_* type code to
storing a MAY_BE_* type mask. Right now most code still assumes
that there is only a single type in the mask (or two together
with MAY_BE_NULL). But this will make it a lot simpler to introduce
union types.

An additional advantage (and why I'm doing this separately), is
that a number of special cases no longer need to be handled
separately: We can do a single mask & (1 << type) check to handle
all simple types, booleans (true|false) and null.

show more ...


Revision tags: php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9
# 675e9751 21-Aug-2019 George Peter Banyard

Promote warning to error in zend_forbid_dynamic_call()


Revision tags: php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1
# bbcfa508 18-Jul-2019 Nikita Popov

Remove Z_PARAM_ZVAL_DEREF

Since PHP 7.4 using this is very likely wrong, and we don't have
any core uses of it for that reason. Extensions shouldn't be using
it either. Accept as Z_P

Remove Z_PARAM_ZVAL_DEREF

Since PHP 7.4 using this is very likely wrong, and we don't have
any core uses of it for that reason. Extensions shouldn't be using
it either. Accept as Z_PARAM_ZVAL and then assign using
ZEND_TRY_ASSIGN macros.

show more ...


Revision tags: php-7.2.21RC1, php-7.3.8RC1
# cbda1b1c 11-Jul-2019 Nikita Popov

Add ZEND_DEP_ME macro


Revision tags: php-7.4.0alpha3
# 9a833438 08-Jul-2019 Dmitry Stogov

Delay EG(exception) check on slow path


# 55f7d3b7 05-Jul-2019 Dmitry Stogov

Eliminate useless checks


Revision tags: php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1
# 42cc58ff 11-Jun-2019 twosee

Turn add_index_zval and add_next_index_zval into inline function

Avoids expression warnings and allows explicitly namespaced use in
C++.

Closes GH-4250.


Revision tags: php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30
# 61f78de4 26-May-2019 twosee

Constify some char* arguments or return values of ZEND_API

Closes GH-4247.


# 63171d88 12-Jun-2019 twosee

Add do...while(0) for RETURN_* and ZVAL_* APIs

Closes GH-4255.


Revision tags: php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16
# a31f4642 26-Feb-2019 Nikita Popov

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error excep

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error exceptions.

Improve exception safety of internal code performing string
conversions.

show more ...


# 321fe889 03-Jun-2019 Nikita Popov

Add Z_PARAM_NUMBER and use it for some functions


# 8a0965e3 03-Jun-2019 Nikita Popov

Remove zpp L specifier

We don't use this internally anymore, and external usages should
be encouraged to move towards 'l'.


# 1df9f238 31-May-2019 Dmitry Stogov

Better hot/cold code splitting


# e14d7733 29-May-2019 Dmitry Stogov

Mark "cold" functions


# 1a4ace05 29-May-2019 Anatol Belski

These macros should not expect any argument


# 072f2893 28-May-2019 Dmitry Stogov

Put phpinfo() related code into cold code segment


# 3f19f511 14-May-2019 Nikita Popov

Add RETURN_EMPTY_ARRAY() / RETVAL_EMPTY_ARRAY()

The usual wrappers around ZVAL_EMPTY_ARRAY()...


# 22e9a5e0 29-Apr-2019 Nikita Popov

Fix typo in TRY_ASSIGN macro name


# e188e417 24-Apr-2019 Dmitry Stogov

Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference


# 34db0756 24-Apr-2019 Dmitry Stogov

Use ZEND_TRA_ASSIGN_REF_... macros for by reference arguments of internal functions.


# abc457fe 20-Mar-2019 Nikita Popov

Fixed bug #74345

Export zend_release_fcall_info_cache(). It is only necessary to
call it if the fcc may not have been used -- if it is passed to
zend_call_function() and friends, the

Fixed bug #74345

Export zend_release_fcall_info_cache(). It is only necessary to
call it if the fcc may not have been used -- if it is passed to
zend_call_function() and friends, then they will take care of
freeing trampolines.

show more ...


Revision tags: php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2
# 513b7679 05-Feb-2019 Nikita Popov

Make zpp failures always throw, independent of strict_types

Previously zend_parse_parameters (and FastZPP) would handle invalid
arguments depending on strict_types: With strict_types=1,

Make zpp failures always throw, independent of strict_types

Previously zend_parse_parameters (and FastZPP) would handle invalid
arguments depending on strict_types: With strict_types=1, a TypeError
is thrown, with strict_types=0 a warning is thrown and (usually) NULL
is returned. Additionally, some functions (constructors always and
other methods sometimes) opt-it to throwing regardless of strict_types.

This commit changes zpp to always generate a TypeError exception in
PHP 8.

show more ...


# a9d4caee 08-Feb-2019 Nikita Popov

Add ZEND_TRY_ASSIGN_BOOL API

Cherry-picked from master, this is of course also necessary in 7.4...


# 706ba151 08-Feb-2019 Nikita Popov

Add ZEND_TRY_ASSIGN_BOOL API


# 91ef4124 31-Jan-2019 Dmitry Stogov

Refactor zend_object_handlers API to pass zend_object* and zend_string* insted of zval(s).


12345678910>>...25