#
90553af1 |
| 13-May-2023 |
Jakub Zelenka |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
e8a836eb |
| 10-Apr-2023 |
Jakub Zelenka |
Expose JSON internal function to escape string |
#
4df3dd76 |
| 08-Jul-2022 |
Arnaud Le Blanc |
Reduce memory allocated by var_export, json_encode, serialize, and other (#8902) smart_str uses an over-allocated string to optimize for append operations. Functions that use smart_str tend
Reduce memory allocated by var_export, json_encode, serialize, and other (#8902) smart_str uses an over-allocated string to optimize for append operations. Functions that use smart_str tend to return the over-allocated string directly. This results in unnecessary memory usage, especially for small strings. The overhead can be up to 231 bytes for strings smaller than that, and 4095 for other strings. This can be avoided for strings smaller than `4096 - zend_string header size - 1` by reallocating the string. This change introduces `smart_str_trim_to_size()`, and calls it in `smart_str_extract()`. Functions that use `smart_str` are updated to use `smart_str_extract()`. Fixes GH-8896
show more ...
|
#
c5ffa0a1 |
| 06-Jun-2022 |
Máté Kocsis |
Declare ext/json constants in stubs (#8716) |
#
54440fa6 |
| 31-Mar-2022 |
Ilija Tovilo |
Merge branch 'PHP-8.1' * PHP-8.1: Register JSON_ERROR_NON_BACKED_ENUM constant (#8285)
|
#
2145f80d |
| 31-Mar-2022 |
Ilija Tovilo |
Register JSON_ERROR_NON_BACKED_ENUM constant (#8285) Fixes GH-8238 |
#
ec53e17a |
| 16-Mar-2022 |
George Peter Banyard |
Use more appropriate types in JSON extension (#8194) Mainly zend_result |
#
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 ...
|
#
269c8dac |
| 10-Jun-2020 |
Ilija Tovilo |
Implement enums RFC: https://wiki.php.net/rfc/enumerations Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> Closes GH-6489. |
#
98fb565c |
| 05-Feb-2021 |
Máté Kocsis |
Generate class entries from stubs for another batch of extensions Closes GH-6669 |
#
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 ...
|
#
1b2aba28 |
| 14-Jan-2021 |
Nikita Popov |
Remove Z_PARAM separate params where they don't make sense Separation can only possibly make sense for array parameters (or something that can contain arrays, like zval parameters). It
Remove Z_PARAM separate params where they don't make sense Separation can only possibly make sense for array parameters (or something that can contain arrays, like zval parameters). It never makes sense to separate a bool. The deref parameters are also of dubious utility, but leaving them for now.
show more ...
|
#
aa0d886c |
| 22-Oct-2020 |
Nikita Popov |
Don't leak json error_code across requests |
#
2b5de6f8 |
| 01-Jul-2020 |
Max Semenik |
Remove proto comments from C files Closes GH-5758 |
#
88355dd3 |
| 07-Jun-2020 |
twosee |
Constify char * arguments of APIs Closes GH-5676. |
#
3fe49d81 |
| 11-Apr-2020 |
Máté Kocsis |
Generate method entries from stubs for a couple of extensions Closes GH-5368 |
#
50765075 |
| 01-Apr-2020 |
Máté Kocsis |
Improve some ValueError messages Closes GH-5340 |
#
5322de1b |
| 04-Apr-2020 |
Máté Kocsis |
Generate functions entries from stubs for another set of extensions Closes GH-5351 |
#
8f4f1dea |
| 03-Jan-2020 |
Máté Kocsis |
Convert zend_parse_parameters_none() to fast ZPP I've done the conversion in those extensions where fast ZPP is predominant. |
#
01a50778 |
| 02-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() after zend_throw_exception() in most of the extensions |
#
12ce73a5 |
| 31-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() after zend_value_error() |
#
34570372 |
| 31-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() during ZPP in most of the extensions Except for some bigger ones: reflection, sodium, spl |
#
734932ec |
| 08-Dec-2019 |
George Peter Banyard |
Convert warnings to ValueError |
Revision tags: 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 |
|
#
49b98b4d |
| 05-Oct-2019 |
Christoph M. Becker |
Add arginfo stub for JsonSerializable |
Revision tags: php-7.4.0RC3 |
|
#
5d6e923d |
| 24-Sep-2019 |
Gabriel Caruso |
Remove mention of PHP major version in Copyright headers Closes GH-4732. |