Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert some warnings to TypeErrors in array functions | Nikita Popov | 2019-05-31 | 1 | -5/+10 |
| | | | | | This is manual type and argument number checking code that was not covered by the zpp move to TypeErrors. | ||||
* | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-31 | 2 | -10/+4 |
|\ | | | | | | | | | * PHP-7.4: Fixed compilation warning | ||||
| * | Fixed compilation warning | Dmitry Stogov | 2019-05-31 | 2 | -10/+4 |
| | | |||||
* | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-31 | 4 | -2112/+1492 |
|\ \ | |/ | | | | | | | * PHP-7.4: Don't specialize "cold" handlers | ||||
| * | Don't specialize "cold" handlers | Dmitry Stogov | 2019-05-31 | 4 | -2112/+1492 |
| | | |||||
* | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-31 | 4 | -2161/+839 |
|\ \ | |/ | | | | | | | * PHP-7.4: Removed useless specialization. Specialized handlers called not specialized helpers. | ||||
| * | Removed useless specialization. Specialized handlers called not specialized ↵ | Dmitry Stogov | 2019-05-31 | 4 | -2161/+839 |
| | | | | | | | | helpers. | ||||
* | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-31 | 3 | -0/+41 |
|\ \ | |/ | | | | | | | * PHP-7.4: Reduce register pressure by reloading values on CPUs with few general purpose registers | ||||
| * | Reduce register pressure by reloading values on CPUs with few general ↵ | Dmitry Stogov | 2019-05-31 | 3 | -0/+41 |
| | | | | | | | | purpose registers | ||||
* | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-30 | 3 | -10/+16 |
|\ \ | |/ | | | | | | | * PHP-7.4: Disable "bad" optimisations only for emulation loop | ||||
| * | Disable "bad" optimisations only for emulation loop | Dmitry Stogov | 2019-05-30 | 3 | -10/+16 |
| | | |||||
* | | Remove get() object handler | Nikita Popov | 2019-05-29 | 7 | -114/+7 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-29 | 2 | -48/+65 |
|\ \ | |/ | | | | | | | * PHP-7.4: zend_assign_to_variable() optimization | ||||
| * | zend_assign_to_variable() optimization | Dmitry Stogov | 2019-05-29 | 2 | -48/+65 |
| | | |||||
* | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-29 | 7 | -14/+13 |
|\ \ | |/ | | | | | | | * PHP-7.4: Mark "cold" functions | ||||
| * | Mark "cold" functions | Dmitry Stogov | 2019-05-29 | 7 | -14/+13 |
| | | |||||
| * | Bump API numbers | Derick Rethans | 2019-05-29 | 2 | -2/+2 |
| | | |||||
| * | zend_do_fcall_overloaded() doesn't have to be exported | Dmitry Stogov | 2019-05-29 | 2 | -3/+1 |
| | | |||||
* | | Remove set() object handler | Nikita Popov | 2019-05-29 | 6 | -49/+3 |
| | | |||||
* | | Merge branch 'PHP-7.4' | Joe Watkins | 2019-05-29 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | * PHP-7.4: disabled functions must not have return type Restore the execute bit for run-tests.php | ||||
| * | Merge branch 'PHP-7.3' into PHP-7.4 | Joe Watkins | 2019-05-29 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | | | | * PHP-7.3: disabled functions must not have return type Restore the execute bit for run-tests.php | ||||
| | * | Merge branch 'PHP-7.2' into PHP-7.3 | Joe Watkins | 2019-05-29 | 1 | -1/+1 |
| | |\ | | | | | | | | | | | | | | | | | * PHP-7.2: disabled functions must not have return type | ||||
| | | * | disabled functions must not have return type | Joe Watkins | 2019-05-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'PHP-7.4' | Anatol Belski | 2019-05-29 | 2 | -5/+7 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | * PHP-7.4: Fix conditional compilation These macros should not expect any argument | ||||
| * | | | Fix conditional compilation | Anatol Belski | 2019-05-29 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | The new symbols are shared and don't need to depend on the availability of __builtin_constant_p. | ||||
| * | | | These macros should not expect any argument | Anatol Belski | 2019-05-29 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-29 | 1 | -30/+34 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Avoid cold code duplication | ||||
| * | | | Avoid cold code duplication | Dmitry Stogov | 2019-05-29 | 1 | -30/+34 |
| | | | | |||||
* | | | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-28 | 3 | -3/+6 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros | ||||
| * | | | Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros | Dmitry Stogov | 2019-05-28 | 4 | -7/+14 |
| | | | | |||||
* | | | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-28 | 4 | -24/+60 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Avoid double copying | ||||
| * | | | Avoid double copying | Dmitry Stogov | 2019-05-28 | 4 | -24/+60 |
| | | | | |||||
* | | | | Update MAY_BE_NULL func_info for Zend functions | Nikita Popov | 2019-05-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | These cannot return NULL anymore in PHP 8. | ||||
* | | | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-05-28 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Put phpinfo() related code into cold code segment | ||||
| * | | | Put phpinfo() related code into cold code segment | Dmitry Stogov | 2019-05-28 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-05-27 | 3 | -6/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | BIND_STATIC of implicit binding may be undef | Nikita Popov | 2019-05-27 | 3 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even though we don't need it at runtime, add the BIND_IMPLICIT flag to BIND_STATIC as well, so we can distinguish this case in type inference. This fixes a JIT miscompile in arrow_functions/002.phpt. | ||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-05-27 | 7 | -14/+15 |
|\ \ \ \ | |/ / / | |||||
| * | | | Accept flags argument in zend_lookup_class_ex() | Nikita Popov | 2019-05-27 | 7 | -14/+15 |
| | | | | | | | | | | | | | | | | Instead of a single boolean, so we have space for extension here. | ||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-05-24 | 3 | -4/+14 |
|\ \ \ \ | |/ / / | |||||
| * | | | Deprecate use of parent where no parent exists | Nikita Popov | 2019-05-24 | 3 | -4/+14 |
| | | | | | | | | | | | | | | | | This deprecation is part of the covariance RFC. | ||||
* | | | | Split up "parent" test cases | Nikita Popov | 2019-05-24 | 4 | -45/+60 |
| | | | | | | | | | | | | | | | | | | | | As the warnings are fatal errors in PHP 8, we can't test all of this in a single file anymore. | ||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-05-24 | 19 | -96/+425 |
|\ \ \ \ | |/ / / | |||||
| * | | | Implement basic variance support | Nikita Popov | 2019-05-24 | 13 | -89/+299 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a minimal variance implementation: It does not support any cyclic type dependencies. Additionally the preloading requirements are much more restrictive than necessary. Hopefully we can relax these in the future. | ||||
| * | | | Avoid early-binding on unresolved types | Nikita Popov | 2019-05-24 | 7 | -45/+166 |
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #76451, and more importantly lays necessary groundwork for covariant/contravariant types. Bug #76451 is just an edge case, but once covariance is introduced this will become a common problem instead. | ||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-05-23 | 1 | -0/+11 |
|\ \ \ \ | |/ / / | |||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Nikita Popov | 2019-05-23 | 1 | -0/+11 |
| |\ \ \ | | |/ / | |||||
| | * | | Fix bug #77955 | Nikita Popov | 2019-05-23 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | Free metadata before freeing the arena. I don't have a repro script, but the added assertion fails for many existing tests prior to this change. | ||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-05-23 | 7 | -7/+36 |
|\ \ \ \ | |/ / / | |||||
| * | | | Forbid use of not fully linked classes | Nikita Popov | 2019-05-23 | 7 | -7/+36 |
| | | | |