History log of /PHP-8.3/UPGRADING.INTERNALS (Results 101 – 125 of 368)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4890bf19 17-Jul-2020 Benjamin Eberlei

Add error notification callbacks to UPGRADING.INTERNALS


# f60cf0cf 15-Jul-2020 Nikita Popov

Remove type argument from zend_get_zval_ptr

As pointed out by Levi, this is unused, and we already changed
the signature of this function for PHP 8.


# 4f3eccfd 11-Jul-2020 George Peter Banyard

Use consistent types

uint32_t type for argument count
size_t for length of char*
zend_bool for a zval bool arg

Closes GH-5845


# 0280c64a 13-Jul-2020 Nikita Popov

Add upgrading note

[ci skip]


Revision tags: php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20
# 9839752a 03-Jul-2020 George Peter Banyard

Voidify some ZEND_API functions

Closes GH-5805


# 302933da 07-Jul-2020 Nikita Popov

Remove no_separation flag


# 8d1a1120 06-Jul-2020 Remi Collet

[skip ci] add upgrade note

Closes GH-5798


# 8d9637bd 01-Jul-2020 Christoph M. Becker

[ci skip] (Hopefully) clarify meaning


# 942f341b 01-Jul-2020 Christoph M. Becker

Document zend_hash_sort and zend_ts_hash_sort signature change

Cf. <https://github.com/php/php-src/pull/3936>.


Revision tags: php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1
# 7b4179e8 18-Jun-2020 Alex Dowad

Update UPGRADING.INTERNALS re: removed --disable-inline-optimization switch

This build configuration switch was removed in 3a19726bce.


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]


12345678910>>...15