Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bug #78787 | Nikita Popov | 2019-11-06 | 1 | -4/+8 |
| | | | | | Not the first time inheritance of shadow properties causes an issue, thankfully this whole concept is gone in PHP 7.4. | ||||
* | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-05-08 | 1 | -2/+2 |
|\ | |||||
| * | Fix resolution of "parent" during inheritance check | Nikita Popov | 2019-05-08 | 1 | -2/+2 |
| | | | | | | | | | | We can't assume that the method we're checking against is part of the parent class... | ||||
* | | Fixed bug #77498 | Nikita Popov | 2019-01-25 | 1 | -0/+3 |
| | | | | | | | | | | I've renamed the function to the same name as the exported symbol in master. | ||||
* | | Fix #77291: magic methods inherited from a trait may be ignored | Christoph M. Becker | 2018-12-16 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Future-proof email addresses | Zeev Suraski | 2018-11-01 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'PHP-7.2' into PHP-7.3 | Dmitry Stogov | 2018-09-03 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-7.2: Fixed reference-countingin ZTS build. | ||||
| * | Merge branch 'PHP-7.1' into PHP-7.2 | Dmitry Stogov | 2018-09-03 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | * PHP-7.1: Fixed reference-countingin ZTS build. | ||||
| | * | Fixed reference-countingin ZTS build. | Dmitry Stogov | 2018-09-03 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-7.2' into PHP-7.3 | Dmitry Stogov | 2018-08-29 | 1 | -4/+9 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.2: Fixed incorrect ZEND_ACC_ARENA_ALLOCATED usage (it must be used only for internal functions). | ||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Dmitry Stogov | 2018-08-29 | 1 | -4/+9 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.1: Fixed incorrect ZEND_ACC_ARENA_ALLOCATED usage (it must be used only for internal functions). | ||||
| | * | Fixed incorrect ZEND_ACC_ARENA_ALLOCATED usage (it must be used only for ↵ | Dmitry Stogov | 2018-08-29 | 1 | -4/+9 |
| | | | | | | | | | | | | internal functions). | ||||
| | * | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
| | * | Revert "Inheritance checks should not ignore parents if these implement an ↵ | Joe Watkins | 2017-02-01 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | interface" This reverts commit b67eb3440bb244adf6957bf2c68aeeaa6efc8c8d. | ||||
| * | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
* | | | Fix #76773 - Methods with a concrete scope need to be added again | Chris Wright | 2018-08-22 | 1 | -3/+4 |
| | | | |||||
* | | | Fix #76700 - Methods with altered visibility need to be added again | Pedro Magalhães | 2018-08-07 | 1 | -2/+4 |
| | | | |||||
* | | | Improved user iterator implementation to reduce zend_class_entry memory ↵ | Dmitry Stogov | 2018-07-12 | 1 | -2/+17 |
| | | | | | | | | | | | | consumption and avoid race condition during resolving/caching of user iterator functions of internal classes in ZTS build. | ||||
* | | | Changed structure of zend_class_entry.trait_aliases and ↵ | Dmitry Stogov | 2018-07-11 | 1 | -130/+128 |
| | | | | | | | | | | | | zend_class_entry.trait_precedences to avoid keeping "intermediate" trait references, that are used only during inheritance. | ||||
* | | | Combined few checks into one | Dmitry Stogov | 2018-07-09 | 1 | -5/+1 |
| | | | |||||
* | | | Avoid reloading | Dmitry Stogov | 2018-07-09 | 1 | -1/+1 |
| | | | |||||
* | | | Eliminated check | Dmitry Stogov | 2018-07-09 | 1 | -4/+4 |
| | | | |||||
* | | | Avoid string comparisons for magic methods (all magic methods start with "__") | Dmitry Stogov | 2018-07-02 | 1 | -12/+14 |
| | | | |||||
* | | | Fixed ZTS race condition (zend_class_entry->ce_flags of internal classes ↵ | Dmitry Stogov | 2018-06-27 | 1 | -2/+0 |
| | | | | | | | | | | | | must not be modified, because internal class enties are shared between threads) | ||||
* | | | Fixed bug #76509 | Nikita Popov | 2018-06-25 | 1 | -15/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In PHP static properties are shared between inheriting classes, unless they are explicitly overwritten. However, because this functionality was implemented using reference, it was possible to break the implementation by reassigning the static property reference. This is fixed by switching the implementation from using references to using INDIRECTs, which cannot be affected by userland code. | ||||
* | | | Avoid duplication of "shadow" property_info | Dmitry Stogov | 2018-06-22 | 1 | -1/+1 |
| | | | |||||
* | | | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -13/+13 |
| | | | | | | | | | | | | where we sure about string persistence. | ||||
* | | | Avoid useless checks, using zend_string_efree(), in cases where the string ↵ | Dmitry Stogov | 2018-05-08 | 1 | -2/+2 |
| | | | | | | | | | | | | is known to be a temporary allocated zend_string. | ||||
* | | | Remove no longer necessary type-name special cases | Nikita Popov | 2018-02-04 | 1 | -8/+2 |
| | | | | | | | | | | | | | | | zend_get_type_by_name() now produces the correct value by itself, so we no longer need these workarounds. | ||||
* | | | Trailing whitespaces | Gabriel Caruso | 2018-01-03 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com> | ||||
* | | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
* | | | Cheaper reference construction | Dmitry Stogov | 2017-12-26 | 1 | -6/+12 |
| | | | |||||
* | | | Merge branch 'PHP-7.2' | Nikita Popov | 2017-12-16 | 1 | -12/+24 |
|\ \ \ | |/ / | |||||
| * | | Fix #75607 - Check if existing static trait property is a ref before comparing | Pedro Magalhães | 2017-12-16 | 1 | -4/+8 |
| | | | |||||
* | | | Introduced zend_hash_find_ex() that may avoid unnecessary hash value check. | Dmitry Stogov | 2017-11-24 | 1 | -5/+9 |
| | | | |||||
* | | | 63911: Compare opcodes of the op_array to determine different functions | Pedro Magalhães | 2017-11-22 | 1 | -0/+5 |
| | | | |||||
* | | | Fix unsigned comparisons and remove dead code | Anatol Belski | 2017-11-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix unsigned comparison Cleanup never executed block Fix unsigned comparison Fix unsigned comparison, diff can't be < 0 Fix unsigned comparison Fix unsigned comparison Remove dead code | ||||
* | | | Avoid unnecessary reference-counting on strings. | Dmitry Stogov | 2017-11-16 | 1 | -2/+3 |
| | | | |||||
* | | | Fix #74922 - Try to resolve constants when importing trait properties | Pedro Magalhães | 2017-11-02 | 1 | -8/+21 |
| | | | |||||
* | | | RC manipulation cleanup | Xinchen Hui | 2017-11-01 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed use-after free introduced in fcc08ce19f39f7ab1381ecc8a010037d41819329 | Dmitry Stogov | 2017-10-31 | 1 | -0/+10 |
| | | | |||||
* | | | Prevent reference-counting on persistent zvals (internal constants, default ↵ | Dmitry Stogov | 2017-10-30 | 1 | -48/+54 |
| | | | | | | | | | | | | | | | | | | | | | properties and constants of internal classes). New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary. This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown. | ||||
* | | | Encapsulate reference-counting primitives. | Dmitry Stogov | 2017-10-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads. | ||||
* | | | Always use IS_CONSTANT_AST (IS_CONSTANT is removed). | Dmitry Stogov | 2017-10-10 | 1 | -9/+12 |
| | | | |||||
* | | | Changed the way VM accesses constant operands in 64-bit builds. | Dmitry Stogov | 2017-10-04 | 1 | -1/+1 |
|/ / | |||||
* | | further sync for vim mode lines | Anatol Belski | 2017-07-04 | 1 | -0/+2 |
| | | |||||
* | | Fix bug #74607: Don't check for bi-directional compatibility in traits | Pedro Magalhães | 2017-06-03 | 1 | -6/+6 |
| | | |||||
* | | Allow overriding abstract methods | Pedro Magalhães | 2017-05-24 | 1 | -10/+0 |
| | | | | | | | | RFC: https://wiki.php.net/rfc/allow-abstract-function-override | ||||
* | | Type hint inheritance check optimization | Dmitry Stogov | 2017-05-10 | 1 | -5/+8 |
| | | |||||
* | | Drop unused variable | Nikita Popov | 2017-05-01 | 1 | -1/+0 |
| | |