History log of /PHP-7.4/NEWS (Results 351 – 375 of 11776)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# df2db7fc 08-Jun-2020 Nikita Popov

Fixed bug #79657

Throwing an exception should count as an initialization for this
purpose.


# ceae8166 04-Jun-2020 Christoph M. Becker

Fix #73527: Invalid memory access in php_filter_strip


# b8e7b30b 03-Jun-2020 Christoph M. Becker

Fix #79668: get_defined_functions(true) may miss functions

Instead of some brittle and unefficient string matching, we can just
check for the function handler.


# af4a9bf1 27-May-2020 Christoph M. Becker

Fix #73927: phpdbg fails with windows error prompt at "watch array"

We expect zvals, so we should request zvals.

We also suppress spurious watchpoint removal notices.


# 63bd8f38 02-Jun-2020 Christoph M. Becker

Fix #79664: PDOStatement::getColumnMeta fails on empty result set

As its name suggests, `sqlite3_data_count` returns the number of
columns in the current row of the result set; we are in

Fix #79664: PDOStatement::getColumnMeta fails on empty result set

As its name suggests, `sqlite3_data_count` returns the number of
columns in the current row of the result set; we are interested in the
number of columns regardless of the current row, so we have to use
`sqlite3_column_count` instead.

show more ...


# 923c45bd 31-May-2020 Christoph M. Becker

Fix #79650: php-win.exe 100% cpu lockup

As of PHP 7.3.0, `sapi_cli_single_write()` is supposed to return `< 0`
on failure, but `fwrite()` returns a `size_t`, and signals error by
set

Fix #79650: php-win.exe 100% cpu lockup

As of PHP 7.3.0, `sapi_cli_single_write()` is supposed to return `< 0`
on failure, but `fwrite()` returns a `size_t`, and signals error by
setting the stream's error indicator. We have to cater to that.

show more ...


# 8483a21f 25-May-2020 Christoph M. Becker

Fix several mostly Windows related phpdbg bugs

* Properly initialize PHPDBG_G(watch_tmp)

Otherwise that may cause segfaults in ZTS builds.

* Deactivate potentially remain

Fix several mostly Windows related phpdbg bugs

* Properly initialize PHPDBG_G(watch_tmp)

Otherwise that may cause segfaults in ZTS builds.

* Deactivate potentially remaining watchpoints after REPL

Otherwise the memory could still be protected, resulting in segfaults
during shutdown.

* NULL zend_handlers_table after freeing

As of commit 4130fe4[1], the `zend_handlers_table` is explicitly
freed in the `zend_vm_dtor()`. Since phpdbg (and maybe some other
SAPIs) may restart the engine afterwards, we have to make sure that
the table is also NULLed.

* Only set context option if there is a context

In other words, we must not follow the null pointer.

* Cater to file handles without attached console

File handles do not necessarily have an attached console (for
instance, pipes do not), in which case `GetConsoleScreenBufferInfo()`
fails. In this case we set a default value (`40`) for lines like on
other systems.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=4130fe437a5db7ead1444d3748bd0fbad9829cb2>

show more ...


# e483761a 19-May-2020 Christoph M. Becker

Fix #73926: phpdbg will not accept input on restart execution

We are more liberal, and accept Windows line endings (CRLF) as well.


# 879004da 26-May-2020 Christoph M. Becker

Fix #79595: zend_init_fpu() alters FPU precision

On startup, PHP deliberately changes the floating point control word to
enforce binary64 format for the calculations for best consistency

Fix #79595: zend_init_fpu() alters FPU precision

On startup, PHP deliberately changes the floating point control word to
enforce binary64 format for the calculations for best consistency
across platforms. However, this is unnessary for x86_64 architectures,
because in this case SSE instructions are used by default, and there is
no good reason to pass `-mfpmath=i387` or such.

Therefore, we can skip the modification, which has the benefit that
system libraries are free to work in the mode of their liking.

show more ...


# c6fc400e 26-May-2020 Derick Rethans

Add (expected) release date, and new header for 7.4.8


# 46d88a49 26-May-2020 Derick Rethans

This bug fix was cherry picked into 7.4.6


# fb370ecb 26-May-2020 Derick Rethans

Fixed historical dates in NEWS


# 10eb842a 22-May-2020 Nikita Popov

Revert "Fix #79595: zend_init_fpu() alters FPU precision"

This reverts commit 88dfc475c5937822399843e8aed9b98a36a01813.


# 88dfc475 20-May-2020 Christoph M. Becker

Fix #79595: zend_init_fpu() alters FPU precision

On startup, PHP deliberately changes the floating point control word to
enforce binary64 format for the calculations for best consistency

Fix #79595: zend_init_fpu() alters FPU precision

On startup, PHP deliberately changes the floating point control word to
enforce binary64 format for the calculations for best consistency
across platforms. However, this is unnessary when compiling under
`__SSE__`, because in this case the x87 instructions are not used.
Therefore, we can skip the modification, which has the benefit that
system libraries are free to work in the mode of their liking.

show more ...


# d4bd6fb4 22-May-2020 Christoph M. Becker

Fix #79615: Wrong GIF header written in GD GIFEncode

The color resolution is expected in bits 4-6 of the packed fields byte
of the logical screen descriptor (byte 10 of the GIF data stre

Fix #79615: Wrong GIF header written in GD GIFEncode

The color resolution is expected in bits 4-6 of the packed fields byte
of the logical screen descriptor (byte 10 of the GIF data stream),
according to the specification[1], section 18.

[1] <https://www.w3.org/Graphics/GIF/spec-gif89a.txt>

show more ...


# 4f47ba99 19-May-2020 Nikita Popov

Fix bug #79603, by retrying on RTD key collision

This is a non-intrusive fix for 7.4, still trying to find a good
solution for master.

Closes GH-5597.


# d87b0685 15-May-2020 Nikita Popov

Fixed bug #79600

Missed unsetting of DO_INIT in one case.


# 3a3241ce 15-May-2020 Xinchen Hui

fixed typo of bug id (#79599)


# ccd41e08 15-May-2020 Xinchen Hui

Fixed bug #97599 (coredump in set_error_handler)


# 8c6d006b 04-May-2020 Christoph M. Becker

Fix #79557: extension_dir = ./ext now use current directory for base

For some reason, `ImageLoad()` fails to load images with a relative
path starting with `.\` or `./`. We work around

Fix #79557: extension_dir = ./ext now use current directory for base

For some reason, `ImageLoad()` fails to load images with a relative
path starting with `.\` or `./`. We work around this issue by
stripping those leading characters.

show more ...


# d1cd489a 15-May-2020 Christoph M. Becker

Fix #79596: MySQL FLOAT truncates to int some locales

We must not do locale aware float to string conversion here; instead
we using our `snprintf()` implementation with the `F` specifier.


# f4c9f8b1 15-May-2020 Christoph M. Becker

[ci skip] Fix NEWS

We add the missing release dates, the NEWS regarding the latest CVE
fixes, and move the entry for bug #79536 to 7.4.7 because it didn't
make it into 7.4.6.


# 5bdb4ab7 12-May-2020 Christoph M. Becker

Fix #79588: Boolean opcache settings ignore on/off values

We should display boolean INI settings as boolean.


# bdba0cd3 05-May-2020 Christoph M. Becker

Fix #79489: .user.ini does not inherit

On Windows, PATH_TRANSLATED may contain backslashes as well as slashes,
so we must not only check for `DEFAULT_SLASH`.


# 85e241c3 12-May-2020 Christoph M. Becker

[ci skip] Update NEWS


1...<<11121314151617181920>>...472