History log of /PHP-8.2/Zend/zend_inheritance.c (Results 176 – 200 of 350)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f778e1a0 08-May-2019 Nikita Popov

Refactor inheritance type check implementation

Extract the self/parent name resolution code and drop unnecessary
string copies/releases. Store the fe/proto types in local variables.


# 5c474010 08-May-2019 Nikita Popov

Deduplicate inheritance type check implementation

Make the check covariant (insofar as it is allowed now, i.e.
nullability and iterable) and call it with appropriate argument
order f

Deduplicate inheritance type check implementation

Make the check covariant (insofar as it is allowed now, i.e.
nullability and iterable) and call it with appropriate argument
order for both parameter and return types.

This makes it simpler to extend to full variance support.

show more ...


# d19b6aa5 08-May-2019 Nikita Popov

Fix resolution of "parent" during inheritance check

We can't assume that the method we're checking against is part of
the parent class...


Revision tags: 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
# fd2db119 27-Mar-2019 Nikita Popov

Always generate fatal error for LSP failures

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


# 05855481 27-Mar-2019 Nikita Popov

Treat abstract ctors the same, regardless of origin

Abstract ctor signatures should always be respected by all children,
independently of whether it comes from an interface or an abstrac

Treat abstract ctors the same, regardless of origin

Abstract ctor signatures should always be respected by all children,
independently of whether it comes from an interface or an abstract
class. Previously abstract ctor signatures (if they didn't come from
an interface) were only checked to one level of inheritance.

show more ...


# d1e5006c 27-Mar-2019 Nikita Popov

Fix lineno for more inheritance errors

And also include explicit linenos in tests.


# 251f293c 27-Mar-2019 Nikita Popov

Make line numbers for inheritance errors more precise

Use the line of the conflicting child method, rather than either the
first or last line of the class.


Revision tags: php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1
# da3316ff 18-Feb-2019 Tyson Andre

Fix typos in code comments in Zend/ [skip ci]


# e6e9bea2 15-Feb-2019 Nikita Popov

Avoid uninitialized entries in properties_info_table

Also don't place it into xlat, there's only ever one user.


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


# 7a6fa7f6 08-Feb-2019 Nikita Popov

Fix refcounting of prop types coming from traits


Revision tags: php-7.2.15, php-7.3.2, 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 ...


# a81202ac 30-Jan-2019 Zeev Suraski

Adios, yearly copyright ranges


# 02557f87 30-Jan-2019 Zeev Suraski

Adios, yearly copyright ranges


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


# f78e6814 25-Jan-2019 Nikita Popov

Fixed bug #77498

I've renamed the function to the same name as the exported symbol
in master.


Revision tags: php-7.3.2RC1, 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 ...


# cec09117 18-Dec-2018 Dmitry Stogov

Replace zend_hash_apply... with ZEND_HASH_FOREACH...


Revision tags: php-7.2.14RC1, php-7.3.1RC1
# 0061db55 16-Dec-2018 Christoph M. Becker

Fix #77291: magic methods inherited from a trait may be ignored

When adding methods from a trait, we must not assume that a method name
with the same length as the name of the using clas

Fix #77291: magic methods inherited from a trait may be ignored

When adding methods from a trait, we must not assume that a method name
with the same length as the name of the using class is either a PHP 4
style constructor, or not a magic method at all – it may well be
another magic method.

We mostly preserve the spirit of the optimization which caused this
regression, and avoid string comparisons for all method names which can
never be magic methods.

show more ...


Revision tags: php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6
# ba99aa13 14-Nov-2018 Dmitry Stogov

Fixed issues related to optimization and persitence of classes linked with interfaces, traits or internal classes.


Revision tags: php-7.1.24, php-7.2.12, php-7.3.0RC5
# 9afce019 01-Nov-2018 Zeev Suraski

Future-proof email addresses


# 54dc07f3 01-Nov-2018 Zeev Suraski

Update email addresses. We're still @Zend, but future proofing it...


# 2fefa8c6 30-Oct-2018 Dmitry Stogov

Call function_add_ref() in proper place


Revision tags: php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4
# 03384cae 19-Oct-2018 Dmitry Stogov

Don't initialize static_member_tables during start-up, when inherit internal classes.


12345678910>>...14