History log of /PHP-8.3/Zend/zend_API.c (Results 276 – 300 of 1242)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 89717283 20-Mar-2019 Nikita Popov

Merge branch 'PHP-7.4'


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

# 92291ab7 11-Mar-2019 Nikita Popov

Merge branch 'PHP-7.4'


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

# 96a9990a 18-Feb-2019 Dmitry Stogov

Merge branch 'PHP-7.4'

* PHP-7.4:
Use "quick" macro variants for known argument numbers


# 2ed013c3 18-Feb-2019 Dmitry Stogov

Use "quick" macro variants for known argument numbers

# 903821b1 15-Feb-2019 Nikita Popov

Merge branch 'PHP-7.4'


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

# 4474cf43 14-Feb-2019 Dmitry Stogov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fixed bug #77613 (method visibility change) (reverted ZEND_ACC_CTOR and ZEND_ACC_DTOR flags removal)


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

# 623911f9 03-Feb-2019 Peter Kokot

Merge branch 'PHP-7.4'

* PHP-7.4:
Remove local variables


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

# 682b54f6 29-Jan-2019 Nikita Popov

Remove support for legacy constructors

This has been deprecated in PHP 7.0 by
https://wiki.php.net/rfc/remove_php4_constructors.

# fd41b99d 24-Jan-2019 Dmitry Stogov

Merge branch 'PHP-7.3'

* PHP-7.3:
Fixed bug #77494 (Disabling class causes segfault on member access)


# aa9a8dbd 24-Jan-2019 Dmitry Stogov

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fixed bug #77494 (Disabling class causes segfault on member access)


# 73f222d7 24-Jan-2019 Dmitry Stogov

Fixed bug #77494 (Disabling class causes segfault on member access)

Revision tags: php-7.3.2RC1
# e6182bd4 17-Jan-2019 Dmitry Stogov

Improved ZEND_TRY_ASSIGN... API to avoid unnecessary double copying and reduce code bloat.

Revision tags: php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14
# e219ec14 07-Jan-2019 Nikita Popov

Implement typed properties

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

This is a squash of PR #3734, which is a squash of PR #3313.

Co-authored-by: Bob Weinand <bobwe

Implement typed properties

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

This is a squash of PR #3734, which is a squash of PR #3313.

Co-authored-by: Bob Weinand <bobwei9@hotmail.com>
Co-authored-by: Joe Watkins <krakjoe@php.net>
Co-authored-by: Dmitry Stogov <dmitry@zend.com>

show more ...

1...<<11121314151617181920>>...50