#
494615fc |
| 30-Jan-2020 |
Nikita Popov |
Fix leak in DateTimeImmutable::modify()
|
#
472fc3a2 |
| 30-Jan-2020 |
Nikita Popov |
Fix leak in DatePeriod construction with invalid format Same issue as I fixed in DateInterval construction before.
|
#
648f16c2 |
| 28-Jan-2020 |
Nikita Popov |
Fix rel_date leak on DateInterval construction failure
|
Revision tags: php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14 |
|
#
d1764ca3 |
| 15-Jan-2020 |
Máté Kocsis |
Make error messages more consistent by fixing capitalization Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
|
Revision tags: php-7.3.14RC1, php-7.4.2RC1, php-7.4.1, php-7.2.26, php-7.3.13 |
|
#
1658b5ba |
| 16-Dec-2019 |
mike |
Adding DateTime(Immutable)::createFromInterface() These are like DateTime::createFromImmutable() DateTimeImmutable::createFromMutable() but accept any DateTimeI
Adding DateTime(Immutable)::createFromInterface() These are like DateTime::createFromImmutable() DateTimeImmutable::createFromMutable() but accept any DateTimeInterface instead. Closes GH-5016.
show more ...
|
#
b48f2625 |
| 23-Dec-2019 |
Christoph M. Becker |
Fix #79015: undefined-behavior in php_date.c We check that the given microsecond fraction is in the valid range [0, 1000000[, and otherwise mark it as invalid. We also drop the usel
Fix #79015: undefined-behavior in php_date.c We check that the given microsecond fraction is in the valid range [0, 1000000[, and otherwise mark it as invalid. We also drop the useless do loop; a plain block is sufficient here.
show more ...
|
#
1b93cfee |
| 02-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() after zend_parse_method_parameters()
|
#
349a2864 |
| 01-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() after zend_throw_error()
|
#
2f7309b1 |
| 30-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() during ZPP in the date, dba and dom extensions
|
Revision tags: php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12 |
|
#
0cec268d |
| 15-Nov-2019 |
Nikita Popov |
Support single class unions in gen stubs
|
#
468ecf29 |
| 15-Nov-2019 |
Nikita Popov |
Fix DateTimeImmutable stubs These were referencing the arginfo from the functions, instead of the methods, which isn't right, as the functions have return types.
|
Revision tags: php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1 |
|
#
2204dbde |
| 31-Oct-2019 |
Máté Kocsis |
Add missing ZPP checks Closes GH-4878.
|
#
94938934 |
| 29-Oct-2019 |
Máté Kocsis |
Cleanup return values when parameter parsing is unsuccessful
|
#
6719d3e7 |
| 29-Oct-2019 |
Nikita Popov |
Add Z_PARAM_STRING/ARRAY_OR_NULL convenience macros
|
Revision tags: php-7.4.0RC5 |
|
#
89c327f8 |
| 25-Oct-2019 |
Christoph M. Becker |
Fix #78751: Serialising DatePeriod converts DateTimeImmutable When getting the properties of a DatePeriod instance we have to retain the proper classes, and when restoring a DatePeriod i
Fix #78751: Serialising DatePeriod converts DateTimeImmutable When getting the properties of a DatePeriod instance we have to retain the proper classes, and when restoring a DatePeriod instance we have to cater to DateTimeImmutable instances as well.
show more ...
|
Revision tags: php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2 |
|
#
d2cde0bf |
| 16-Sep-2019 |
m.yakunin |
Fix #70153 \DateInterval incorrectly unserialized Added a separate macro for reading 'days' property, so that bool(false) is correctly converted to the proper internal representation.
|
#
b02b8129 |
| 07-Oct-2019 |
Dmitry Stogov |
Comparison cleanup: - introduce zend_compare() that returns -1,0,1 dirctly (without intermediate zval) - remove compare_objects() object handler, and keep only compare() handler
|
#
647b1c7f |
| 07-Oct-2019 |
Nikita Popov |
Remove most uses of ZEND_PARSE_PARAMETERS_END_EX() As ZPP now throws, it makes no sense to specify an explicit return value.
|
#
5d6e923d |
| 24-Sep-2019 |
Gabriel Caruso |
Remove mention of PHP major version in Copyright headers Closes GH-4732.
|
#
e3255a4f |
| 18-Sep-2019 |
CJDennis |
Fix typo `sizeof("data")-1` and `sizeof("date")-1` are both 4, so no change in behaviour
|
Revision tags: php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1 |
|
#
06aa2ae9 |
| 12-Aug-2019 |
Craig Duncan |
Update the date class arginfo the new format
|
#
3b2f2ce4 |
| 09-Aug-2019 |
Nikita Popov |
Make uninitialized DateTime an Error This avoids many spurious false return values.
|
Revision tags: php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3 |
|
#
33886f71 |
| 18-Jun-2019 |
Nikita Popov |
Generate arginfo from PHP stub files Signature stubs for internal functions are specified in xyz.stub.php, from which we generate actual arginfo structures in xyz_arginfo.h. This fil
Generate arginfo from PHP stub files Signature stubs for internal functions are specified in xyz.stub.php, from which we generate actual arginfo structures in xyz_arginfo.h. This file then needs to be included in the implementation appropriately. Arginfo from stubs can be regenerated using scripts/dev/gen_stub.php. However, this should also automatically happen when the stub file is modified.
show more ...
|
#
fc17bfaa |
| 08-Aug-2019 |
Nikita Popov |
Fixed bug #78383
|
#
7556600d |
| 15-Jul-2019 |
Christoph M. Becker |
Fix #65547: Default value for sunrise/sunset zenith still wrong The value of the zenith angle to calculate sunrise and sunset times is commonly defined as 90°50', and is "obtained by add
Fix #65547: Default value for sunrise/sunset zenith still wrong The value of the zenith angle to calculate sunrise and sunset times is commonly defined as 90°50', and is "obtained by adding the average apparent radius of the Sun (16') to the average amount of atmospheric refraction at the horizon (34')", according to http://aa.usno.navy.mil/faq/docs/RST_defs.php. This value is also used for the Sunrise/Sunset Algorithm published in the Almanac for Computers, 1990, see https://web.archive.org/web/20161202180207/http://williams.best.vwh.net/sunrise_sunset_algorithm.htm.
show more ...
|