History log of /PHP-8.0/UPGRADING.INTERNALS (Results 26 – 50 of 283)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1
# ff19ec2d 26-Feb-2020 Nikita Popov

Introduce InternalIterator

Userland classes that implement Traversable must do so either
through Iterator or IteratorAggregate. The same requirement does
not exist for internal class

Introduce InternalIterator

Userland classes that implement Traversable must do so either
through Iterator or IteratorAggregate. The same requirement does
not exist for internal classes: They can implement the internal
get_iterator mechanism, without exposing either the Iterator or
IteratorAggregate APIs. This makes them usable in get_iterator(),
but incompatible with any Iterator based APIs.

A lot of internal classes do this, because exposing the userland
APIs is simply a lot of work. This patch alleviates this issue by
providing a generic InternalIterator class, which acts as an
adapater between get_iterator and Iterator, and can be easily
used by many internal classes. At the same time, we extend the
requirement that Traversable implies Iterator or IteratorAggregate
to internal classes as well.

Closes GH-5216.

show more ...


# 293a0e79 15-Jun-2020 Fabien Villepinte

Fix typo


# f04f7c39 15-Jun-2020 Dmitry Stogov

Added note


# 68dd6cc9 20-May-2020 Christoph M. Becker

Control VCRT leak reporting via environment variable in debug builds

Formerly, this had to be enabled by passing the configuration flag
`--enable-crt-debug`; now it can be enabled by set

Control VCRT leak reporting via environment variable in debug builds

Formerly, this had to be enabled by passing the configuration flag
`--enable-crt-debug`; now it can be enabled by setting the environment
variable `PHP_WIN32_DEBUG_HEAP`. The advantage is that it is no longer
necessary to do separate builds, at the cost of a very minor
performance penalty during process startup.

show more ...


# 48655925 09-May-2020 George Peter Banyard

Remove old ARG_COUNT() macro

Use ZEND_NUM_ARGS() instead.

Clsoes GH-5551


# 8fd7f02e 31-Mar-2020 Nikita Popov

Make cast_object handler required

Avoid subtle differences in behavior depending on whether the
handler is absent or returns FAILURE.

If you previously set cast_object to NULL,

Make cast_object handler required

Avoid subtle differences in behavior depending on whether the
handler is absent or returns FAILURE.

If you previously set cast_object to NULL, create a handler that
always returns FAILURE instead.

show more ...


# 33ef3d64 04-Mar-2020 Nikita Popov

Use separate typedef for bucket comparison function

Avoid performing the same casting dance inside each sort compare
function.


Revision tags: php-7.4.3, php-7.2.28
# b35b0142 13-Feb-2020 Nikita Popov

Require all internal functions to have arginfo


# d9b80efb 15-Feb-2020 Tyson Andre

[skip ci] Fix typos in UPGRADING

Closes GH-5183


# 64b40f69 07-Feb-2020 Dmitry Stogov

Make ASSIGN, ASSIGN_OP, INC and DEC opcodes to return IS_TMP_VAR instead of IS_VAR.

This helps to avoid unnecessary IS_REFERENCE checks.
This changes some notices "Only variables should

Make ASSIGN, ASSIGN_OP, INC and DEC opcodes to return IS_TMP_VAR instead of IS_VAR.

This helps to avoid unnecessary IS_REFERENCE checks.
This changes some notices "Only variables should be passed by reference" to exception "Cannot pass parameter %d by reference".

Also, for consistency, compile-time fatal error "Only variables can be passed by reference" was converted to exception "Cannot pass parameter %d by reference"

show more ...


Revision tags: php-7.3.15RC1, php-7.4.3RC1, php-7.3.15
# 2b5fb76d 23-Jan-2020 George Peter Banyard

Apply custom format/length modifier removal to spprintf

This mimicks the changes made to the custom snprintf implementation
by removing the custom 'v' format and custom 'I' length modifi

Apply custom format/length modifier removal to spprintf

This mimicks the changes made to the custom snprintf implementation
by removing the custom 'v' format and custom 'I' length modifier
from the spprintf implementation.

Closes GH-5108

show more ...


Revision tags: php-7.2.27, php-7.4.2, php-7.3.14
# 13178087 20-Jan-2020 George Peter Banyard

Drop the custom 'v' format from snprintf custom implementation.

Extensions should instead use the standard 's' format.

Closes GH-5100


# aaa1f90e 15-Jan-2020 George Peter Banyard

Drop the custom I length modifier from snprintf custom implementation.

Extensions should rather use the ZEND_LONG_FMT, ZEND_ULONG_FMT and
ZEND_XLONG_FMT macros defined in php-src/Zend/ze

Drop the custom I length modifier from snprintf custom implementation.

Extensions should rather use the ZEND_LONG_FMT, ZEND_ULONG_FMT and
ZEND_XLONG_FMT macros defined in php-src/Zend/zend_long.h

Closes GH-5089

show more ...


Revision tags: php-7.3.14RC1, php-7.4.2RC1, php-7.4.1, php-7.2.26, php-7.3.13
# 86aac3ee 11-Dec-2019 Christoph M. Becker

uint/ulong removal may affect other platforms as well


Revision tags: php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1
# 0eee1809 07-Oct-2019 Markus Staab

Fix typo [ci skip]


# b02b8129 07-Oct-2019 Dmitry Stogov

Comparison cleanup:

- introduce zend_compare() that returns -1,0,1 dirctly (without intermediate zval)
- remove compare_objects() object handler, and keep only compare() handler


Revision tags: php-7.4.0RC3, php-7.2.23
# 652c09ec 24-Sep-2019 Christoph M. Becker

[ci skip] Update UPGRADING.INTERNALS

Cf. <http://git.php.net/?p=php-src.git;a=commit;h=0c7124e6beff0a7b0540691db370148be06d242a>.


Revision tags: php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1
# 4253811c 10-Sep-2019 Peter Cowburn

upgrading notes for ValueError/zend_value_error()


Revision tags: php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8
# 57d9b94d 24-Jul-2019 Dmitry Stogov

Simplify TMP/VAR operand releasing


Revision tags: php-7.4.0beta1
# 845d07b3 22-Jul-2019 Nikita Popov

Add upgrading entries

[ci skip]


# 9b8bf13b 22-Jul-2019 Peter Kokot

Fix internals upgrading log


# 24fbda05 20-Jul-2019 Peter Kokot

Update changelog


# b35b9eb1 18-Jul-2019 Peter Kokot

Update changelogs


# 7dc6c396 18-Jul-2019 Peter Kokot

Update changelog


# fa7fbfd5 18-Jul-2019 Peter Kokot

Update changelog


12345678910>>...12