summaryrefslogtreecommitdiff
path: root/Zend
Commit message (Collapse)AuthorAgeFilesLines
* Convert some warnings to TypeErrors in array functionsNikita Popov2019-05-311-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 Stogov2019-05-312-10/+4
|\ | | | | | | | | * PHP-7.4: Fixed compilation warning
| * Fixed compilation warningDmitry Stogov2019-05-312-10/+4
| |
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-314-2112/+1492
|\ \ | |/ | | | | | | * PHP-7.4: Don't specialize "cold" handlers
| * Don't specialize "cold" handlersDmitry Stogov2019-05-314-2112/+1492
| |
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-314-2161/+839
|\ \ | |/ | | | | | | * PHP-7.4: Removed useless specialization. Specialized handlers called not specialized helpers.
| * Removed useless specialization. Specialized handlers called not specialized ↵Dmitry Stogov2019-05-314-2161/+839
| | | | | | | | helpers.
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-313-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 Stogov2019-05-313-0/+41
| | | | | | | | purpose registers
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-303-10/+16
|\ \ | |/ | | | | | | * PHP-7.4: Disable "bad" optimisations only for emulation loop
| * Disable "bad" optimisations only for emulation loopDmitry Stogov2019-05-303-10/+16
| |
* | Remove get() object handlerNikita Popov2019-05-297-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 Stogov2019-05-292-48/+65
|\ \ | |/ | | | | | | * PHP-7.4: zend_assign_to_variable() optimization
| * zend_assign_to_variable() optimizationDmitry Stogov2019-05-292-48/+65
| |
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-297-14/+13
|\ \ | |/ | | | | | | * PHP-7.4: Mark "cold" functions
| * Mark "cold" functionsDmitry Stogov2019-05-297-14/+13
| |
| * Bump API numbersDerick Rethans2019-05-292-2/+2
| |
| * zend_do_fcall_overloaded() doesn't have to be exportedDmitry Stogov2019-05-292-3/+1
| |
* | Remove set() object handlerNikita Popov2019-05-296-49/+3
| |
* | Merge branch 'PHP-7.4'Joe Watkins2019-05-291-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.4Joe Watkins2019-05-291-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.3Joe Watkins2019-05-291-1/+1
| | |\ | | | | | | | | | | | | | | | | * PHP-7.2: disabled functions must not have return type
| | | * disabled functions must not have return typeJoe Watkins2019-05-291-1/+1
| | | |
* | | | Merge branch 'PHP-7.4'Anatol Belski2019-05-292-5/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | * PHP-7.4: Fix conditional compilation These macros should not expect any argument
| * | | Fix conditional compilationAnatol Belski2019-05-291-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 argumentAnatol Belski2019-05-291-2/+2
| | | |
* | | | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-291-30/+34
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.4: Avoid cold code duplication
| * | | Avoid cold code duplicationDmitry Stogov2019-05-291-30/+34
| | | |
* | | | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-283-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 macrosDmitry Stogov2019-05-284-7/+14
| | | |
* | | | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-284-24/+60
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.4: Avoid double copying
| * | | Avoid double copyingDmitry Stogov2019-05-284-24/+60
| | | |
* | | | Update MAY_BE_NULL func_info for Zend functionsNikita Popov2019-05-281-1/+1
| | | | | | | | | | | | | | | | These cannot return NULL anymore in PHP 8.
* | | | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-281-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.4: Put phpinfo() related code into cold code segment
| * | | Put phpinfo() related code into cold code segmentDmitry Stogov2019-05-281-1/+1
| | | |
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-05-273-6/+6
|\ \ \ \ | |/ / /
| * | | BIND_STATIC of implicit binding may be undefNikita Popov2019-05-273-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 Popov2019-05-277-14/+15
|\ \ \ \ | |/ / /
| * | | Accept flags argument in zend_lookup_class_ex()Nikita Popov2019-05-277-14/+15
| | | | | | | | | | | | | | | | Instead of a single boolean, so we have space for extension here.
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-05-243-4/+14
|\ \ \ \ | |/ / /
| * | | Deprecate use of parent where no parent existsNikita Popov2019-05-243-4/+14
| | | | | | | | | | | | | | | | This deprecation is part of the covariance RFC.
* | | | Split up "parent" test casesNikita Popov2019-05-244-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 Popov2019-05-2419-96/+425
|\ \ \ \ | |/ / /
| * | | Implement basic variance supportNikita Popov2019-05-2413-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 typesNikita Popov2019-05-247-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 Popov2019-05-231-0/+11
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-05-231-0/+11
| |\ \ \ | | |/ /
| | * | Fix bug #77955Nikita Popov2019-05-231-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 Popov2019-05-237-7/+36
|\ \ \ \ | |/ / /
| * | | Forbid use of not fully linked classesNikita Popov2019-05-237-7/+36
| | | |