History log of /PHP-8.4/Zend/zend_API.c (Results 226 – 250 of 1160)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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


# 45a0656e 29-May-2019 Nikita Popov

Remove get() object handler

Now that set() is gone, there is little point in keeping get(), as
it is essentially just a different way of writing cast_object()
now.

Closes GH

Remove get() object handler

Now that set() is gone, there is little point in keeping get(), as
it is essentially just a different way of writing cast_object()
now.

Closes GH-4202.

show more ...


# e14d7733 29-May-2019 Dmitry Stogov

Mark "cold" functions


# 7821cc3b 29-May-2019 Joe Watkins

disabled functions must not have return type


# e6fac86d 24-May-2019 Nikita Popov

Accept flags argument in zend_lookup_class_ex()

Instead of a single boolean, so we have space for extension here.


# 050d2993 28-Apr-2019 Benjamin Eberlei

Fix bug #62397 - disable_functions does not work with eval.


# e9aa0337 18-Apr-2019 Nikita Popov

Fix more dl() interned string assertions


# a5b7f3bd 18-Apr-2019 Nikita Popov

Fix more dl() interned string assertions


# ed4c2427 18-Apr-2019 Nikita Popov

Fix dl() module unloading in post deactivate

FOREACH_END_DEL() does not call the destructor by itself, we need to
explicitly call it. Due to the missing dtor call the functions were

Fix dl() module unloading in post deactivate

FOREACH_END_DEL() does not call the destructor by itself, we need to
explicitly call it. Due to the missing dtor call the functions were
not unregistered early, which resulted in later shutdown segfaults.

show more ...


# ac12cc85 17-Apr-2019 Dmitry Stogov

Fixed dl() function. It failed in DEBUG build without opcache because of assert during string interning.


# a1b7ccdf 11-Apr-2019 Dmitry Stogov

Fixed bug #77877 (call_user_func() passes $this to satatic methods).


# 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 ...


# ac79d42b 11-Mar-2019 Nikita Popov

Free trampolines from get_closure in is_callable

Also extract this logic into a function, as it's duplicated a few times.


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 ...


# 2ed013c3 18-Feb-2019 Dmitry Stogov

Use "quick" macro variants for known argument numbers


# 3cafa7f4 15-Feb-2019 Nikita Popov

Assign (un)serialize_func during compilation

This avoids writing this cache at runtime, which is illegal if
preloading is used.

Not every serialize/unserialize function actually

Assign (un)serialize_func during compilation

This avoids writing this cache at runtime, which is illegal if
preloading is used.

Not every serialize/unserialize function actually belongs to the
Serializable interface, but I think it's not a problem to assign
these anyway -- whether they are used ultimately depends on whether
Serializable is implemented.

Alternatively it might make sense to just drop these entirely. I
don't think this is performance critical functionality.

show more ...


# 43a7d950 14-Feb-2019 Dmitry Stogov

Fixed bug #77613 (method visibility change) (reverted ZEND_ACC_CTOR and ZEND_ACC_DTOR flags removal)


# f45e0ce9 07-Feb-2019 Dmitry Stogov

Remove ZEND_OVERLOADED_FUNCTION and corresponding call_method object handler


# 91ef4124 31-Jan-2019 Dmitry Stogov

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


Revision tags: php-7.2.15RC1
# 92ac598a 22-Jan-2019 Peter Kokot

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files. All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.

show more ...


# e93bbf4d 30-Jan-2019 Nikita Popov

Remove more leftovers from invalid static calls

Callbacks are now always valid or not valid, there is no in-between.


# a81202ac 30-Jan-2019 Zeev Suraski

Adios, yearly copyright ranges


# 02557f87 30-Jan-2019 Zeev Suraski

Adios, yearly copyright ranges


# 6c73b50c 29-Jan-2019 Nikita Popov

Remove static calls to non-static methods


12345678910>>...47