#
65067dff |
| 18-Jun-2019 |
Joe Watkins |
Resolve discrepencies between second value yielded by gettimeofday and time, fixes #69044
|
Revision tags: php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1 |
|
#
457392fa |
| 05-Jun-2019 |
Dmitry Stogov |
Cheaper checks for exceptions thrown from __toString()
|
Revision tags: php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16 |
|
#
a31f4642 |
| 26-Feb-2019 |
Nikita Popov |
Allow exceptions in __toString() RFC: https://wiki.php.net/rfc/tostring_exceptions And convert some object to string conversion related recoverable fatal errors into Error excep
Allow exceptions in __toString() RFC: https://wiki.php.net/rfc/tostring_exceptions And convert some object to string conversion related recoverable fatal errors into Error exceptions. Improve exception safety of internal code performing string conversions.
show more ...
|
#
facfbf3c |
| 28-May-2019 |
Craig Duncan |
Update the DatePeriod read/write handlers
|
Revision tags: php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1, php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28 |
|
#
dc586bff |
| 20-Feb-2018 |
Craig Duncan |
Ensure the internal properties cannot be overwritten
|
#
3bd5b836 |
| 29-May-2019 |
Nikita Popov |
Specify get_property_ptr_ptr handler for DatePeriod This handler is required on 7.4. Just return NULL from it to fall back to read_property.
|
#
83804519 |
| 28-May-2019 |
Dmitry Stogov |
Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros
|
#
3cfbbf29 |
| 18-Apr-2019 |
Nikita Popov |
Make DateInterval objects uncomparable Arbitrary DateInterval objects don't have well-defined comparison semantics. Throw a warning and treat the objects as uncomparable. Suppor
Make DateInterval objects uncomparable Arbitrary DateInterval objects don't have well-defined comparison semantics. Throw a warning and treat the objects as uncomparable. Support for comparing DateInterval objects returned by DateTime::diff() may be added in the future.
show more ...
|
#
7b1a4e24 |
| 25-Mar-2019 |
Ignace Nyamagana Butera |
Fixed bug #77909: DatePeriod::__construct() with invalid recurrence count value Improve error message on invalid reccurence count Adding test when reccurence is -1
|
#
c708c4b4 |
| 08-Apr-2019 |
Nikita Popov |
Avoid time(NULL) call if explicit timestamp given As suggested by Benjamin Coutu.
|
#
a573c0e9 |
| 18-Mar-2019 |
Nikita Popov |
Fix unused variable warning
|
#
ab07bc1f |
| 17-Mar-2019 |
Derick Rethans |
Fixed 7.2 compat issue
|
#
6eb83a63 |
| 26-Feb-2019 |
Ignace Nyamagana Butera |
Fixed bug #75113: Added DatePeriod::getRecurrences() method.
|
#
3a857852 |
| 13-Mar-2019 |
Peter Kokot |
Remove HAVE_STRFTIME Function strftime is part of the C89 standard [1] and current systems don't need to check for its presence anymore. Additionally, checks for strftime functi
Remove HAVE_STRFTIME Function strftime is part of the C89 standard [1] and current systems don't need to check for its presence anymore. Additionally, checks for strftime function in tests have been removed since the PHP strftime function is now always available. 1: https://port70.net/~nsz/c/c89/c89-draft.html
show more ...
|
#
513b7679 |
| 05-Feb-2019 |
Nikita Popov |
Make zpp failures always throw, independent of strict_types Previously zend_parse_parameters (and FastZPP) would handle invalid arguments depending on strict_types: With strict_types=1,
Make zpp failures always throw, independent of strict_types Previously zend_parse_parameters (and FastZPP) would handle invalid arguments depending on strict_types: With strict_types=1, a TypeError is thrown, with strict_types=0 a warning is thrown and (usually) NULL is returned. Additionally, some functions (constructors always and other methods sometimes) opt-it to throwing regardless of strict_types. This commit changes zpp to always generate a TypeError exception in PHP 8.
show more ...
|
#
a8c3e22d |
| 03-Mar-2019 |
Peter Kokot |
Replace PHP_TM_GMTOFF with AC_CHECK_MEMBERS Changes: - PHP_TM_GMTOFF removed - HAVE_TM_GMTOFF replaced with HAVE_STRUCT_TM_TM_GMTOFF - HAVE_TM_ZONE replaced with HAVE_STRUCT_TM_T
Replace PHP_TM_GMTOFF with AC_CHECK_MEMBERS Changes: - PHP_TM_GMTOFF removed - HAVE_TM_GMTOFF replaced with HAVE_STRUCT_TM_TM_GMTOFF - HAVE_TM_ZONE replaced with HAVE_STRUCT_TM_TM_ZONE - HAVE_TZNAME removed The PHP_TM_GMTOFF macro can be replaced with Autoconf's AC_CHECK_MEMBERS that defines the HAVE_STRUCT_TM_TM_GMTOFF symbol instead of the HAVE_TM_ZONE. The HAVE_TZNAME symbol is not used in current code. The obsolete HAVE_TM_ZONE symbol has been replaced with more proper HAVE_STRUCT_TM_TM_ZONE. These are defined by the AC_STRUCT_TIMEZONE macro.
show more ...
|
#
a890c5be |
| 28-Feb-2019 |
Derick Rethans |
Fixed bug #50020 (DateInterval:createDateFromString() silently fails)
|
#
a109fddb |
| 12-Feb-2019 |
Nikita Popov |
Remove "defensive copy" of DatePeriod properties get_properties() constructs these as fresh objects with no relation to the internals, there is no need to clone them again. Additionally
Remove "defensive copy" of DatePeriod properties get_properties() constructs these as fresh objects with no relation to the internals, there is no need to clone them again. Additionally the current implementation leaks memory, because the original objects are never freed (see PR #3121).
show more ...
|
#
91ef4124 |
| 31-Jan-2019 |
Dmitry Stogov |
Refactor zend_object_handlers API to pass zend_object* and zend_string* insted of zval(s).
|
#
92ac598a |
| 22-Jan-2019 |
Peter Kokot |
Remove local variables This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly
Remove local variables This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
show more ...
|
#
5a2787a0 |
| 30-Jan-2019 |
Nikita Popov |
Require at least one arg for mktime/gmmktime
|
#
0cf7de1c |
| 30-Jan-2019 |
Zeev Suraski |
Remove yearly range from copyright notice
|
#
38c337f2 |
| 30-Jan-2019 |
Zeev Suraski |
Remove year range from copyright notice
|
#
e219ec14 |
| 07-Jan-2019 |
Nikita Popov |
Implement typed properties RFC: https://wiki.php.net/rfc/typed_properties_v2 This is a squash of PR #3734, which is a squash of PR #3313. Co-authored-by: Bob Weinand <bobwe
Implement typed properties RFC: https://wiki.php.net/rfc/typed_properties_v2 This is a squash of PR #3734, which is a squash of PR #3313. Co-authored-by: Bob Weinand <bobwei9@hotmail.com> Co-authored-by: Joe Watkins <krakjoe@php.net> Co-authored-by: Dmitry Stogov <dmitry@zend.com>
show more ...
|
#
a9a084c0 |
| 23-Dec-2018 |
Derick Rethans |
Update API use due to changes in timelib 2018.01RC3
|