Derick Rethans
a46bdcb631
Updated to version 2019.3 (2019c)
2019-10-02 23:39:11 +01:00
Fabien Villepinte
0aa3acc6c4
Fix borked SKIPIFs
2019-09-30 17:51:41 +02:00
Nikita Popov
22516b7d8a
Merge branch 'PHP-7.3' into PHP-7.4
2019-09-19 11:36:19 +02:00
Nikita Popov
f53b8268d6
Merge branch 'PHP-7.2' into PHP-7.3
2019-09-19 11:36:09 +02:00
CJDennis
e3255a4f49
Fix typo
...
`sizeof("data")-1` and `sizeof("date")-1` are both 4, so no change in behaviour
2019-09-19 11:36:00 +02:00
Derick Rethans
f465560a0f
Updated to version 2019.2 (2019b)
2019-08-11 16:05:59 +01:00
Derick Rethans
7aa1dd3ba1
Updated to version 2019.2 (2019b)
2019-08-11 16:05:58 +01:00
Matteo Beccati
00dd786ba4
Fix test when default TZ is not UTC
2019-08-09 09:58:10 +02:00
Nikita Popov
fc17bfaacf
Fixed bug #78383
2019-08-08 09:55:52 +02:00
Peter Kokot
c72d6da461
Remove timelib outdated defines
...
- TIMELIB_OMIT_STDINT is not used anymore since
a171f99cf0
- HAVE_GETTIMEOFDAY was defined multiple times in Windows headers
- ext/date/lib/timelib_config.h.win32 does not seem to be used
Closes GH-4400
2019-07-14 13:50:05 +02:00
Nikita Popov
9d82a01d01
Clean up DateTimeZone::getLocation() test
...
And avoid invalid array access.
2019-07-10 11:09:41 +02:00
Derick Rethans
a60128c503
Merge branch 'PHP-7.3' into PHP-7.4
2019-06-30 15:50:55 +01:00
Derick Rethans
cc3fe3bd30
Fixed tests due to changed timezone data
2019-06-30 15:50:38 +01:00
Derick Rethans
aae5907cb7
Update timelib to 2018.02
2019-06-30 15:45:13 +01:00
Peter Kokot
2079b09854
Clean headers checks
...
Some headers were checked multiple times in the main configure.ac file
and in the bundled extensions or SAPIs themselves. Also many of these
checks are then used accross other extensions or SAPIs so a central
configure.ac makes most sense for these checks.
2019-06-27 02:45:09 +02:00
Joe Watkins
264536877d
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
export php_time
2019-06-19 12:40:23 +02:00
Joe Watkins
599b94ff14
export php_time
2019-06-19 12:39:51 +02:00
Joe Watkins
fb95043acf
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Resolve discrepencies between second value yielded by gettimeofday and time, fixes #69044
2019-06-19 09:01:20 +02:00
Joe Watkins
025899e3b5
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Resolve discrepencies between second value yielded by gettimeofday and time, fixes #69044
2019-06-19 08:59:04 +02:00
Joe Watkins
65067dff01
Resolve discrepencies between second value yielded by gettimeofday and time, fixes #69044
2019-06-19 08:56:20 +02:00
Nikita Popov
fc65da5c59
Fix 32-bit warnings in timelib
...
This has already been fixed upstream in
4df262e758
so I'm backporting this change.
2019-06-11 16:14:10 +02:00
Dmitry Stogov
457392fa64
Cheaper checks for exceptions thrown from __toString()
2019-06-06 01:47:22 +03:00
Nikita Popov
a31f46421d
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.
2019-06-05 14:25:07 +02:00
Craig Duncan
a08b3b6d19
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Add a test for bug #65672
Ensure the internal properties cannot be overwritten
2019-05-30 19:14:04 +01:00
Craig Duncan
370997fb5d
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Add a test for bug #65672
Ensure the internal properties cannot be overwritten
2019-05-30 18:55:55 +01:00
Craig Duncan
8b53c7232e
Add a test for bug #65672
2019-05-30 18:55:42 +01:00
Craig Duncan
dc586bff36
Ensure the internal properties cannot be overwritten
2019-05-30 18:55:36 +01:00
Nikita Popov
3bd5b83615
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.
2019-05-29 09:51:15 +02:00
Nikita Popov
5a0df6a414
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-29 09:47:54 +02:00
Nikita Popov
de7d0256a3
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-29 09:47:43 +02:00
Craig Duncan
5d67271db0
Add tests for DatePeriod properties
2019-05-29 09:47:10 +02:00
Dmitry Stogov
83804519df
Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros
2019-05-28 20:10:02 +03:00
Peter Kokot
75fb74860d
Normalize comments in *nix build system m4 files
...
Normalization include:
- Use dnl for everything that can be ommitted when configure is built in
favor of the shell comment character # which is visible in the output.
- Line length normalized to 80 columns
- Dots for most of the one line sentences
- Macro definitions include similar pattern header comments now
2019-05-12 18:43:03 +02:00
Vinicius Dias
188ece856d
Remove duplicate variables
...
Removing duplicate variables `$beginDtObj` and `$beginTimestamp`.
2019-05-12 03:02:38 +02:00
Nikita Popov
3cfbbf2956
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.
2019-04-23 13:12:06 +02:00
Vitor Mattos
c050045faa
Add test for date timestamp
...
- [date_timestamp_get] adding coverage for date_timestamp_get alias to
DateTime::getTimestamp feature at PHPRio TestFest
- [date_timestamp_get] adding coverage for date_timestamp_get basic
feature at PHPRio TestFest
- Combine tests into single file
2019-04-20 19:21:10 +02:00
Nikita Popov
3974180f92
Remove dead "props" member from date objects
2019-04-18 15:05:43 +02:00
Derick Rethans
4a3f64dfef
Merge branch 'PHP-7.3' into PHP-7.4
2019-04-17 09:40:28 +01:00
Derick Rethans
6088713216
Merge branch 'PHP-7.2' into PHP-7.3
2019-04-17 09:40:18 +01:00
Ignace Nyamagana Butera
7b1a4e2400
Fixed bug #77909 : DatePeriod::__construct() with invalid recurrence count value
...
Improve error message on invalid reccurence count
Adding test when reccurence is -1
2019-04-17 09:39:03 +01:00
Gabriel Caruso
656db96eb9
Remove HAVE_* for always available extensions
2019-04-14 11:44:12 -03:00
Nikita Popov
c708c4b404
Avoid time(NULL) call if explicit timestamp given
...
As suggested by Benjamin Coutu.
2019-04-08 09:43:47 +02:00
Derick Rethans
83c9906bdb
Updated to version 2019.1 (2019a)
2019-04-01 10:38:41 +01:00
Derick Rethans
a22bd7a3a8
Updated to version 2019.1 (2019a)
2019-04-01 10:38:40 +01:00
Nikita Popov
1b411c039f
Merge branch 'PHP-7.3' into PHP-7.4
2019-03-18 10:14:03 +01:00
Nikita Popov
00cfa1a367
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-18 10:11:25 +01:00
Nikita Popov
a573c0e9ed
Fix unused variable warning
2019-03-18 10:11:00 +01:00
Derick Rethans
d209ccd4cc
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-17 14:55:53 -04:00
Derick Rethans
ab07bc1fff
Fixed 7.2 compat issue
2019-03-17 14:53:56 -04:00
Derick Rethans
0325e78f4f
Merge branch 'PHP-7.3' into PHP-7.4
2019-03-17 14:38:11 -04:00