History log of /php-src/NEWS (Results 2226 – 2250 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 18abfcb3 19-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Revert "Fix #79908: json_encode encodes negative zero as int"


# 2d2c001c 19-Jul-2021 Christoph M. Becker

Revert "Fix #79908: json_encode encodes negative zero as int"

This reverts commit 717f1ed5e4b4b2083907dd085e66b377edad24b7.

# ef77d3c8 17-Jul-2021 Christoph M. Becker

Fix #81206: Multiple PHP processes crash with JIT enabled

We need to avoid resetting the JIT for all SAPIs, but we need to
initialize the JIT handlers even when only reattaching on Windo

Fix #81206: Multiple PHP processes crash with JIT enabled

We need to avoid resetting the JIT for all SAPIs, but we need to
initialize the JIT handlers even when only reattaching on Windows.

Closes GH-7208.

show more ...

# 814a9327 16-Jul-2021 Nikita Popov

Add ZEND_ACC_NOT_SERIALIZABLE flag

This prevents serialization and unserialization of a class and its
children in a way that does not depend on the zend_class_serialize_deny
and zend

Add ZEND_ACC_NOT_SERIALIZABLE flag

This prevents serialization and unserialization of a class and its
children in a way that does not depend on the zend_class_serialize_deny
and zend_class_unserialize_deny handlers that will be going away
in PHP 9 together with the Serializable interface.

In stubs, `@not-serializable` can be used to set this flag.

This patch only uses the new flag for a handful of Zend classes,
converting the remainder is left for later.

Closes GH-7249.
Fixes bug #81111.

show more ...

# 66328742 19-Jul-2021 Dmitry Stogov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #81249 (Intermittent property assignment failure with JIT enabled)


# c0e49328 19-Jul-2021 Dmitry Stogov

Fixed bug #81249 (Intermittent property assignment failure with JIT enabled)

# 3621ce60 19-Jul-2021 Dmitry Stogov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #81225 (Wrong result with pow operator with JIT enabled)


# 9cd43713 19-Jul-2021 Dmitry Stogov

Fixed bug #81225 (Wrong result with pow operator with JIT enabled)

# 9fbcaa57 16-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #78238: BCMath returns "-0"


# bcb89c75 16-Jul-2021 Christoph M. Becker

Fix #78238: BCMath returns "-0"

There is no negative zero in the decimal system, so we must suppress
the sign.

Closes GH-7250.

# 12a858ac 16-Jul-2021 Nikita Popov

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix bug #81265: getimagesize returns 0 for 256px ICO images


# 8f97f82e 16-Jul-2021 George Dietrich

Fix bug #81265: getimagesize returns 0 for 256px ICO images

Set ICO height/width to 256 if 0.

# bb4dbbc1 15-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #80849: HTTP Status header truncation


# a054ef2a 15-Jul-2021 Christoph M. Becker

Fix #80849: HTTP Status header truncation

While truncating the contents of a header is okay, we must never omit
the trailing CRLF.

Closes GH-7238.

# c6b7f6c3 15-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #72595: php_output_handler_append illegal write access


# a942cf5b 14-Jul-2021 Christoph M. Becker

Fix #72595: php_output_handler_append illegal write access

We must make sure that `handler->buffer.size + grow_max` does not
overflow, so we're using `safe_erealloc()` instead.

Fix #72595: php_output_handler_append illegal write access

We must make sure that `handler->buffer.size + grow_max` does not
overflow, so we're using `safe_erealloc()` instead.

Closes GH-7241.

show more ...

# c0a1ef3e 15-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #72146: Integer overflow on substr_replace


# 33f8dfb1 14-Jul-2021 Christoph M. Becker

Fix #72146: Integer overflow on substr_replace

Adding two `zend_long`s may overflow, and casting `size_t` to
`zend_long` may truncate; we can avoid this here by enforcing unsigned
ar

Fix #72146: Integer overflow on substr_replace

Adding two `zend_long`s may overflow, and casting `size_t` to
`zend_long` may truncate; we can avoid this here by enforcing unsigned
arithmetic.

Closes GH-7240.

show more ...

# f40dcedb 13-Jul-2021 Derick Rethans

Update NEWS for 7.4.22

# 7dc35ac8 13-Jul-2021 Sara Golemon

Bump to 8.0.10

# 6a9daafe 08-Jul-2021 Joe Watkins

Fix bug #81237 comparison of fake closures doesn't work

# 1ba190bd 13-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #79908: json_encode encodes negative zero as int


# 717f1ed5 13-Jul-2021 Christoph M. Becker

Fix #79908: json_encode encodes negative zero as int

Encoding a negative zero as `-0` is likely to loose the sign when
decoding (at least it does with `json_decode()`). Therefore, we en

Fix #79908: json_encode encodes negative zero as int

Encoding a negative zero as `-0` is likely to loose the sign when
decoding (at least it does with `json_decode()`). Therefore, we encode
it as if `JSON_PRESERVE_ZERO_FRACTION` was specified, i.e. as `-0.0`.

Closes GH-7234.

show more ...

# 0c0ecf04 12-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #73226: --r[fcez] always return zero exit code


# 9db3eda2 07-Jul-2021 Christoph M. Becker

Fix #73226: --r[fcez] always return zero exit code

This makes the behavior consistent with `--ri`, and is likely useful
for scripting.

Closes GH-7221.

1...<<81828384858687888990>>...619