#
b4208c8f |
| 13-Nov-2023 |
Jakub Zelenka |
Initialize syslog device in GINIT Closes GH-12663
|
#
10b2b4a5 |
| 23-Oct-2023 |
Daniil Gentili |
Fix memory leak in standard syslog device handling The BG(syslog_device) is leaked in RINIT. Closes GH-12501
|
#
b2186ca7 |
| 08-Nov-2022 |
Christoph M. Becker |
Fix GH-9905: constant() behaves inconsistent when class is undefined Directly referring to a constant of an undefined throws an exception; there is not much point in `constant()` raising
Fix GH-9905: constant() behaves inconsistent when class is undefined Directly referring to a constant of an undefined throws an exception; there is not much point in `constant()` raising a fatal error in this case. Closes GH-9907.
show more ...
|
Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33 |
|
#
26e42446 |
| 09-Nov-2021 |
Nikita Popov |
Fix bug #81598: Use C.UTF-8 as LC_CTYPE locale by default Unfortunately, libedit is locale based and does not accept UTF-8 input when the C locale is used. This patch switches the defaul
Fix bug #81598: Use C.UTF-8 as LC_CTYPE locale by default Unfortunately, libedit is locale based and does not accept UTF-8 input when the C locale is used. This patch switches the default locale to C.UTF-8 instead (if it is available). This makes libedit work and I believe it shouldn't affect behavior of single-byte locale-dependent functions that PHP otherwise uses. Closes GH-7635.
show more ...
|
Revision tags: php-7.3.32 |
|
#
fabcc9a3 |
| 11-Oct-2021 |
Nikita Popov |
Fix long-term shutdown/tick fci/fcc storage Normally incrementing the refcount on just function_name is sufficient. However, if the callable is of the form 'X::y' inside an instance
Fix long-term shutdown/tick fci/fcc storage Normally incrementing the refcount on just function_name is sufficient. However, if the callable is of the form 'X::y' inside an instance method, this will capture $this in fcc.object, which also needs to be retained. The fci_addref/fci_release helpers should likely be exported as a general API, as we may have this problem in other places as well. Fixes oss-fuzz #39778.
show more ...
|
Revision tags: php-7.3.31 |
|
#
51a504c8 |
| 27-Aug-2021 |
Nikita Popov |
Avoid string copy in get_cfg_var() basic_functions.c already has a macro for returning an ini value to userland, so make use of it for get_cfg_var() as well, after generalizing it to
Avoid string copy in get_cfg_var() basic_functions.c already has a macro for returning an ini value to userland, so make use of it for get_cfg_var() as well, after generalizing it to not write to return_value in particular.
show more ...
|
Revision tags: php-7.3.30 |
|
#
ef5558a8 |
| 17-Aug-2021 |
Nikita Popov |
Use zend_string for putenv key (#7379) A zend_string will be created anyway for the hash key, so we may as well create one in the first place. |
#
b56699b8 |
| 17-Aug-2021 |
Nikita Popov |
Use system allocator for putenv value The putenv value is stored in environ. If for some reason we fail to restore it on shutdown, make sure that we fail gracefully by using a system
Use system allocator for putenv value The putenv value is stored in environ. If for some reason we fail to restore it on shutdown, make sure that we fail gracefully by using a system allocated value, rather than a ZMM allocated one. This is an additional mitigation for bug #81316 style issues if all else fails.
show more ...
|
Revision tags: php-7.3.29 |
|
#
aff36587 |
| 29-Jun-2021 |
Patrick Allaert |
Fixed some spaces used instead of tabs |
#
e7135cb8 |
| 14-May-2021 |
George Peter Banyard |
Use zend_string_equals_* API in a couple of more place Closes GH-6979 |
#
4f46bec5 |
| 10-May-2021 |
Nikita Popov |
Initialize zpp varargs variables These are not initialized if no args are passed. |
#
39fa55a4 |
| 10-May-2021 |
Aaron Piotrowski |
Switch register_tick_function back to zend_parse_parameters No reason to use fast ZPP in register_tick_function, so let’s keep the binary size down just a bit. |
#
a9695cc6 |
| 10-May-2021 |
George Peter Banyard |
Refactor register shutdown function mechanism Use FCI/FCC structure instead of custom implementation which does the same. This also fixes the "bug" which prevented static methods from be
Refactor register shutdown function mechanism Use FCI/FCC structure instead of custom implementation which does the same. This also fixes the "bug" which prevented static methods from being shutdown functions. Closes GH-5829 Co-authored-by: Aaron Piotrowski <aaron@trowski.com>
show more ...
|
#
66bfad57 |
| 09-May-2021 |
Aaron Piotrowski |
Remove unnecessay NULL Z_PARAM_FUNC already sets params to NULL. |
#
0189585c |
| 09-May-2021 |
Aaron Piotrowski |
Fix tick function with arguments Tick function arguments need to be copied to fci params. |
#
7ec048f9 |
| 09-May-2021 |
Aaron Piotrowski |
Do not free tick function entry This memory is freed by zend_llist. |
#
05e6f3eb |
| 08-May-2021 |
George Peter Banyard |
Refactor register_tick_function mechanism (#5828) |
#
01b3fc03 |
| 06-May-2021 |
KsaR |
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier". 3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted. 4. fixed indentation in some files before |
show more ...
|
Revision tags: php-7.3.28 |
|
#
dc703030 |
| 23-Apr-2021 |
Nikita Popov |
Use interned strings for error_get_last() We have known strings for all the array keys, use them. |
#
b66eb866 |
| 23-Apr-2021 |
Nikita Popov |
Convert last_error_file to zend_string |
#
4ce5d2ea |
| 09-Apr-2021 |
Nikita Popov |
Add known strings for jit autoglobals We always create interned strings for all autoglobals anyway, so we might as well add known strings to make them more widely usable. |
#
c732ab40 |
| 16-Mar-2021 |
Dmitry Stogov |
Change Zend Stream API to use zend_string* instead of char*. This allows to eliminate re-calculation of string lenght and hash value. See the detailed list of changes in UPGRADING.INTERN
Change Zend Stream API to use zend_string* instead of char*. This allows to eliminate re-calculation of string lenght and hash value. See the detailed list of changes in UPGRADING.INTERNALS.
show more ...
|
#
4c6533c2 |
| 17-Feb-2021 |
Máté Kocsis |
Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend Closes GH-6706 |
#
070e24d7 |
| 11-Feb-2021 |
Nikita Popov |
Allow all scalar types in ini_set() This changes ini_set() to accept all scalar types (string|int|float|bool|null) for the new value. The idea here is that while the INI system ultim
Allow all scalar types in ini_set() This changes ini_set() to accept all scalar types (string|int|float|bool|null) for the new value. The idea here is that while the INI system ultimately works with strings, its value interpretation is designed to be consistent with PHP's casting rules, e.g. "1" and "" are interpreted as boolean true and false respectively. I personally believe that writing ini_set('precision', 10) makes more sense than ini_set('precision', '10'), and find strict_types to be unnecessarily pedantic here. Closes GH-6680.
show more ...
|
Revision tags: php-7.3.27 |
|
#
3e01f5af |
| 15-Jan-2021 |
Nikita Popov |
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
show more ...
|