summaryrefslogtreecommitdiff
path: root/Zend/zend_inheritance.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Cheaper reference constructionDmitry Stogov2017-12-261-6/+12
| | |
* | | Merge branch 'PHP-7.2'Nikita Popov2017-12-161-12/+24
|\ \ \ | |/ /
| * | Fix #75607 - Check if existing static trait property is a ref before comparingPedro Magalhães2017-12-161-4/+8
| | |
* | | Introduced zend_hash_find_ex() that may avoid unnecessary hash value check.Dmitry Stogov2017-11-241-5/+9
| | |
* | | 63911: Compare opcodes of the op_array to determine different functionsPedro Magalhães2017-11-221-0/+5
| | |
* | | Fix unsigned comparisons and remove dead codeAnatol Belski2017-11-171-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 Stogov2017-11-161-2/+3
| | |
* | | Fix #74922 - Try to resolve constants when importing trait propertiesPedro Magalhães2017-11-021-8/+21
| | |
* | | RC manipulation cleanupXinchen Hui2017-11-011-1/+1
| | |
* | | Fixed use-after free introduced in fcc08ce19f39f7ab1381ecc8a010037d41819329Dmitry Stogov2017-10-311-0/+10
| | |
* | | Prevent reference-counting on persistent zvals (internal constants, default ↵Dmitry Stogov2017-10-301-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 Stogov2017-10-271-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 Stogov2017-10-101-9/+12
| | |
* | | Changed the way VM accesses constant operands in 64-bit builds.Dmitry Stogov2017-10-041-1/+1
|/ /
* | further sync for vim mode linesAnatol Belski2017-07-041-0/+2
| |
* | Fix bug #74607: Don't check for bi-directional compatibility in traitsPedro Magalhães2017-06-031-6/+6
| |
* | Allow overriding abstract methodsPedro Magalhães2017-05-241-10/+0
| | | | | | | | RFC: https://wiki.php.net/rfc/allow-abstract-function-override
* | Type hint inheritance check optimizationDmitry Stogov2017-05-101-5/+8
| |
* | Drop unused variableNikita Popov2017-05-011-1/+0
| |
* | Fixed bug #61970: Allow a child class to restrict access to ctorPedro Magalhães2017-05-011-2/+3
| |
* | Fixed bug #74269: Strict comparison of initial trait property valuesPedro Magalhães2017-05-011-9/+5
| |
* | Remove the ZEND_ACC_CLONE flagNikita Popov2017-04-221-1/+1
| | | | | | | | This one is completely unused
* | Implement Parameter Type Widening RFCNiklas Keller2017-02-041-13/+26
| |
* | Merge branch 'PHP-7.1'Joe Watkins2017-01-281-5/+4
|\ \ | |/ | | | | | | | | * PHP-7.1: Added tests demonstrating the same effect with abstracts Inheritance checks should not ignore parents if these implement an interface
| * Inheritance checks should not ignore parents if these implement an interfacePedro Magalhães2017-01-281-5/+4
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Introduced "zend_type" - an abstraction for type-hinting representation.Dmitry Stogov2017-01-131-45/+24
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|/
* Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-09-221-0/+1
|\
| * Fix bug #69579John Boehr2016-09-221-0/+1
| |
* | Merge branch 'PHP-7.0'Nikita Popov2016-07-051-2/+2
|\ \ | |/
| * Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2016-07-051-2/+2
| | | | | | | | | | Conflicts: Zend/zend_compile.c
* | Swap type check orderAaron Piotrowski2016-06-291-12/+22
| |
* | Limit covariance to array and TraversableAaron Piotrowski2016-06-051-12/+3
| |
* | Fix abort too earlyAaron Piotrowski2016-06-051-10/+12
| |
* | Covariance on inheriting classes with iterableAaron Piotrowski2016-06-041-0/+29
| |
* | Merge branch 'nullable_types' of github.com:morrisonlevi/php-srcDmitry Stogov2016-05-231-5/+11
|\ \ | | | | | | | | | | | | | | | | | | * 'nullable_types' of github.com:morrisonlevi/php-src: Fix bug #71428 Add nullable parameter types Implement nullable return types.
| * | Fix bug #71428Levi Morrison2016-05-051-2/+0
| | | | | | | | | | | | This also affects bug #72119
| * | Add nullable parameter typesLevi Morrison2016-05-051-5/+5
| | | | | | | | | | | | This works off of Dmitry's commit for nullable return types
| * | Implement nullable return types.Dmitry Stogov2016-05-051-1/+9
| | |
* | | Fixed typoDmitry Stogov2016-05-061-1/+1
| | |
* | | Revert "Refactor zval cleanup into single function"Dmitry Stogov2016-05-061-1/+1
| | | | | | | | | | | | This reverts commit bac6fdb0c52c924e726c5a78de8858bf27b6586b.
* | | Refactor zval cleanup into single functionBob Weinand2016-05-051-1/+1
|/ / | | | | | | Also use zval_ptr_dtor_nogc() everywhere in Zend in favor of zval_dtor()
* | Revert "Fix bad merge into master"Dmitry Stogov2016-04-291-0/+3
| | | | | | | | This reverts commit 2c8e4ba8f1f63429f5d0e08a4a0fc6d449ca801a.
* | Fix bad merge into masterBob Weinand2016-04-281-3/+0
| | | | | | | | | | This should only have been reverted in 7.0, but not for 7.1. (merge=ours??) Added appropriate NEWS entry.
* | Merge branch 'PHP-7.0'Dmitry Stogov2016-04-281-0/+3
|\ \ | |/ | | | | | | * PHP-7.0: Fixed BC break described by bug #72119. It was introduced after 7.0.5 release by attempt to fix bug #71428.
| * Fixed BC break described by bug #72119.Dmitry Stogov2016-04-281-0/+3
| | | | | | | | It was introduced after 7.0.5 release by attempt to fix bug #71428.
* | Merge branch 'PHP-7.0'Dmitry Stogov2016-04-191-1/+2
|\ \ | |/ | | | | | | * PHP-7.0: Prevent usage in GC after free.
| * Merge branch 'PHP-5.6' into PHP-7.0Dmitry Stogov2016-04-191-1/+2
| | | | | | | | | | * PHP-5.6: Prevent usage in GC after free.
* | Merge branch 'PHP-7.0'Dmitry Stogov2016-04-071-1/+0
|\ \ | |/ | | | | | | * PHP-7.0: Fixed build