#
bfcee2c7 |
| 14-May-2020 |
Christoph M. Becker |
Check compatibility with proper runtime DLL In practise, this likely does not matter, because usually these DLLs are installed side by side, but still we should check the proper DLL.
|
#
1df3f97c |
| 12-May-2020 |
George Peter Banyard |
Fix [-Wundef] warning in main folder
|
#
51743189 |
| 09-May-2020 |
Indrek Ardel |
Fix default sendmail path when not found during build Closes GH-5548.
|
#
4a816584 |
| 29-Feb-2020 |
Máté Kocsis |
Make float to string casts locale-independent From now on, float to string casting will always behave locale-independently. RFC: https://wiki.php.net/rfc/locale_independent_float_to_stri
Make float to string casts locale-independent From now on, float to string casting will always behave locale-independently. RFC: https://wiki.php.net/rfc/locale_independent_float_to_string Closes GH-5224 Co-authored-by: George Peter Banyard <girgias@php.net>
show more ...
|
#
c50cfc4d |
| 07-May-2020 |
Nikita Popov |
Add quiet parameter to internal HTML entities API In some places, we need to make sure that no warnings are thrown due to unknown encoding. The error reporting code tried to avoid th
Add quiet parameter to internal HTML entities API In some places, we need to make sure that no warnings are thrown due to unknown encoding. The error reporting code tried to avoid this by determining a "safe charset", but this introduces subtle discrepancies in which charset is picked (normally internal_encoding takes precedence). Avoid this by suppressing the warning in the first place. While here, use the fallback logic to print error messages with substitution characters more consistently, to avoid skipping parts of the error message entirely.
show more ...
|
#
c4ad8bea |
| 29-Apr-2020 |
Nikita Popov |
Do not inherit LC_CTYPE locale from environment Treatment of locales in PHP is currently inconsistent: The LC_ALL locale is set to "C", as is standard behavior on program startup. Th
Do not inherit LC_CTYPE locale from environment Treatment of locales in PHP is currently inconsistent: The LC_ALL locale is set to "C", as is standard behavior on program startup. The LC_CTYPE locale is set to "", which will inherit it from the environment. However, the inherited LC_CTYPE locale will only be used in some cases, while in other cases it is necessary to perform an explicit setlocale() call in PHP first. This is the case for the locale-sensitive handling in the PCRE extension. Make things consistent by *never* inheriting any locales from the environment. LC_ALL, including LC_CTYPE will be "C" on startup. A locale can be set or inherited through an explicit setlocale() call, at which point the behavior will be fully consistent and predictable. Closes GH-5488.
show more ...
|
#
78d3af45 |
| 31-Mar-2020 |
Nikita Popov |
Make sure php_get_internal_encoding() returns non-empty Even if default_charset is set to "", we should still return "UTF-8" as the default value here. Setting default_charset to ""
Make sure php_get_internal_encoding() returns non-empty Even if default_charset is set to "", we should still return "UTF-8" as the default value here. Setting default_charset to "" suppresses the header emission, but shouldn't change anything about our encoding defaults.
show more ...
|
#
018251a7 |
| 03-Jan-2020 |
Nikita Popov |
Fixed bug #71876 This is a backport of fcdc0a6db0ae63fbed9e3828137b899b844623ce to the PHP-7.3 branch. We need to make sure that OnUpdateString is also called for a NULL value, other
Fixed bug #71876 This is a backport of fcdc0a6db0ae63fbed9e3828137b899b844623ce to the PHP-7.3 branch. We need to make sure that OnUpdateString is also called for a NULL value, otherwise the reset of the encoding at the end of the request will not work. I believe I already tried to land this before once, but it didn't actually end up on the PHP-7.3 branch due to a push conflict that I only noticed just now.
show more ...
|
#
e1b57310 |
| 30-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() during ZPP in main, sapi, win32, and Zend
|
#
e45b6139 |
| 17-Dec-2019 |
Nikita Popov |
Free buffer in php_verror even if it is empty vspprintf allocates a buffer even if the resulting string is empty.
|
#
fcdc0a6d |
| 17-Dec-2019 |
Nikita Popov |
Fix resetting of internal_encoding and friends We need to update the value even if new_value is NULL. In particular, it should be reset back to NULL after each request if the setting was
Fix resetting of internal_encoding and friends We need to update the value even if new_value is NULL. In particular, it should be reset back to NULL after each request if the setting was not specified on startup. Otherwise we leave dangling pointers.
show more ...
|
Revision tags: php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4 |
|
#
db233501 |
| 10-Oct-2019 |
Nikita Popov |
Use clean shutdown on uncaught exception
|
#
3164186d |
| 09-Oct-2019 |
Erik Lundin |
Fix #78656: Parse errors classified as highest log-level
|
Revision tags: php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3 |
|
#
5d6e923d |
| 24-Sep-2019 |
Gabriel Caruso |
Remove mention of PHP major version in Copyright headers Closes GH-4732.
|
Revision tags: php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1 |
|
#
790ed7d5 |
| 02-Sep-2019 |
Nikita Popov |
Enable display_startup_errors by default
|
Revision tags: php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4 |
|
#
58d661cd |
| 18-Aug-2019 |
Benjamin Eberlei |
Cleanup unnecessary if guard clause to free buffer.
|
Revision tags: php-7.2.22RC1, php-7.3.9RC1 |
|
#
b01824e5 |
| 13-Aug-2019 |
Nikita Popov |
Fixed bug #78406
|
Revision tags: php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1 |
|
#
38f1288b |
| 23-Jul-2019 |
Nikita Popov |
Fix Zend signals unblocking There are a few parts here: * opcache should not be blocking signals while invoking compile_file, otherwise signals may remain blocked on a compile er
Fix Zend signals unblocking There are a few parts here: * opcache should not be blocking signals while invoking compile_file, otherwise signals may remain blocked on a compile error. While at it, also protect SHM memory during compile_file. * We should deactivate Zend signals at the end of the request, to make sure that we gracefully recover from a missing unblock and signals don't remain blocked forever. * We don't use a critical section in deactivation, because it should not be necessary. Additionally we want to clean up the signal queue, if it is non-empty. * Enable SIGG(check) in debug builds so we notice issues in the future.
show more ...
|
Revision tags: php-7.2.21RC1, php-7.3.8RC1 |
|
#
b3f74b0b |
| 12-Jul-2019 |
Nikita Popov |
Deprecate allow_url_include
|
#
856c5d28 |
| 17-Jul-2019 |
Nikita Popov |
Revert "Avoid unused fstat() call" This reverts commit 5a90dc77b8f244f603082aea022fadc0ce2c009c. Let's try to go with the reverse direction here and actually trust the reported
Revert "Avoid unused fstat() call" This reverts commit 5a90dc77b8f244f603082aea022fadc0ce2c009c. Let's try to go with the reverse direction here and actually trust the reported size...
show more ...
|
#
5a90dc77 |
| 17-Jul-2019 |
Nikita Popov |
Avoid unused fstat() call If we're including a file via PHP streams, we're not going to trust the reported file size anyway and populate in a loop -- so don't bother determining the
Avoid unused fstat() call If we're including a file via PHP streams, we're not going to trust the reported file size anyway and populate in a loop -- so don't bother determining the file size in the first place. Only do this for non-tty HANDLE_FP now, which is the only case where this information was used.
show more ...
|
#
a986e709 |
| 17-Jul-2019 |
Nikita Popov |
Avoid double buffering in Zend streams Disable buffering in PHP streams, to avoid storing and copying the file contents twice. This will call stream_set_option() on custom strea
Avoid double buffering in Zend streams Disable buffering in PHP streams, to avoid storing and copying the file contents twice. This will call stream_set_option() on custom stream wrapper as well, so the method needs to be implemented to avoid a warning.
show more ...
|
#
b317f0eb |
| 16-Jul-2019 |
Nikita Popov |
Remove ZEND_HANDLE_MAPPED The buf/len members are now simply used in addition to the main stream, without changing the handle kind.
|
#
e0eca262 |
| 16-Jul-2019 |
Nikita Popov |
Drop free_filename field from zend_file_handle free_filename was always zero.
|
#
49bac9b7 |
| 16-Jul-2019 |
Nikita Popov |
Introduce zend_stream_init_filename() Avoid more ad-hoc initialization of zend_file_handle structures.
|