Derick Rethans
4aa864c4ab
Updated to version 2018.3 (2018c)
2018-01-24 13:57:08 +00:00
David Carlier
6e94f943c1
Avoid abs() type mismatch warnings
...
timelib_time z field was mistakenly promoted to 64 bits types in
one place. Otherwise silence warning with explicit cast down to int.
2018-01-06 21:51:31 +01:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com >
2018-01-03 14:38:00 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Dmitry Stogov
83e495e0fd
Move constants into read-only data segment
2017-12-14 22:14:36 +03:00
Dmitry Stogov
9e709e2fa0
Move constants into read-only data segment
2017-12-14 18:43:44 +03:00
Dmitry Stogov
1db8402208
Move zend_object_iterator_funcs structures into read-only data segment
2017-12-14 14:21:22 +03:00
Dmitry Stogov
6a9d2b2190
Cleanup type conversion
2017-12-07 19:24:55 +03:00
Nikita Popov
dcdd4abdb2
Make sure properties are initialized before cloning
...
Now that they are not memset, they need to be explicitly intialized,
as zend_objects_clone_members() destroys the old property values
first.
2017-11-25 22:51:37 +01:00
Nikita Popov
b72b1a4e4d
Add zend_object_alloc() API
...
Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.
Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.
2017-11-25 17:12:37 +01:00
Anatol Belski
c57a2dccae
Use appropriate macro
2017-11-17 23:32:37 +01:00
Anatol Belski
95bfbeeea8
Remove useless condition
2017-11-17 23:32:03 +01:00
Dmitry Stogov
ccc12b82da
Avoid unnecessary reference-counting on strings.
2017-11-16 17:09:32 +03:00
Derick Rethans
0651886ab9
Merge branch 'PHP-7.2'
2017-11-07 14:52:26 +00:00
Derick Rethans
466a34d67c
Revert "date module, replacing abs call with the llabs's like one due to bigger type"
...
This reverts commit c189845951 .
2017-11-07 14:52:12 +00:00
Joe Watkins
c0b73c82af
Merge branch 'PHP-7.2'
...
* PHP-7.2:
date module, replacing abs call with the llabs's like one due to bigger type
2017-11-07 05:27:38 +00:00
David Carlier
c189845951
date module, replacing abs call with the llabs's like one due to bigger type
2017-11-07 05:27:27 +00:00
Sammy Kaye Powers
98d6d1189c
Remove decade-old commented-out code
2017-10-31 14:46:16 +00:00
Anatol Belski
4d108dc3fe
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Parametrize the expected value to avoid platform false positives
2017-10-24 18:39:05 +02:00
Anatol Belski
ffeb8d1b03
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Parametrize the expected value to avoid platform false positives
2017-10-24 18:38:44 +02:00
Anatol Belski
67b99b698f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Parametrize the expected value to avoid platform false positives
2017-10-24 18:38:23 +02:00
Anatol Belski
e19bf29b53
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Parametrize the expected value to avoid platform false positives
2017-10-24 18:36:56 +02:00
Anatol Belski
45ac5edbd9
Parametrize the expected value to avoid platform false positives
2017-10-24 18:33:21 +02:00
Derick Rethans
2ca08a3d66
Merge branch 'PHP-7.2'
2017-10-24 14:56:39 +01:00
Derick Rethans
ca23b0484c
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-24 14:56:24 +01:00
Derick Rethans
7bc31238b4
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-24 14:55:48 +01:00
Derick Rethans
8e3260376c
Update timezonemap.h, which needs to match the bundled TZ db
2017-10-24 14:55:13 +01:00
Anatol Belski
69ecd5edb2
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Apply upstream patch for CVE-2016-1283
2017-10-24 13:45:59 +02:00
Anatol Belski
e97b10f1a0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Apply upstream patch for CVE-2016-1283
2017-10-24 13:45:16 +02:00
Anatol Belski
4d31ee9043
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Apply upstream patch for CVE-2016-1283
2017-10-24 13:44:03 +02:00
Anatol Belski
5efbcd1882
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Apply upstream patch for CVE-2016-1283
2017-10-24 13:38:48 +02:00
Anatol Belski
a7815e63bd
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
2017-10-24 11:28:17 +02:00
Derick Rethans
973c1e3c93
Updated to version 2017.3 (2017c)
2017-10-23 17:31:24 +01:00
Derick Rethans
12e2fc4ab6
Updated to version 2017.3 (2017c)
2017-10-23 17:31:23 +01:00
Derick Rethans
b07b526b95
Updated to version 2017.3 (2017c)
2017-10-23 17:31:21 +01:00
Derick Rethans
b2dfcb30eb
Updated to version 2017.3 (2017c)
2017-10-23 17:31:20 +01:00
Anatol Belski
65f610bd9f
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix array access on undeclared properties in DateInterval
2017-10-09 15:40:00 +02:00
Anatol Belski
611d117b24
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix array access on undeclared properties in DateInterval
2017-10-09 15:38:37 +02:00
Anatol Belski
d8881f4eb4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix array access on undeclared properties in DateInterval
2017-10-09 15:38:21 +02:00
Anatol Belski
f48abfa902
Fix array access on undeclared properties in DateInterval
2017-10-09 15:35:38 +02:00
Peter Kokot
784917bd64
Remove done TODO file from date extension
...
TODO file for date extension has been outdated:
- date_default_timezone_set_error.phpt includes checking that
date_default_timezone_set() validates the passed timezone identifiers.
- ext/date/php_date.c includes timezone caching
- errors are included in date_parse() return value.
2017-10-08 14:41:17 +02:00
Peter Kokot
6ad96c337d
Remove done TODO line from ext/date
2017-10-03 07:26:21 +01:00
Joe Watkins
a4da53a654
Merge branch 'PHP-7.2'
...
* PHP-7.2:
fix bug #75222 DateInterval microseconds property always 0
2017-09-27 06:24:46 +01:00
jhdxr
7deb561f75
fix bug #75222 DateInterval microseconds property always 0
2017-09-27 06:23:42 +01:00
Xinchen Hui
ff6f41c94e
Narrow typeinfos down for zend_parse_paramenters_none
2017-09-12 11:25:21 +08:00
Derick Rethans
db6510884c
Merge branch 'PHP-7.2'
2017-09-04 22:45:43 +01:00
Derick Rethans
c0383b5039
Upgrade timelib to 2017.05beta9
2017-09-04 22:45:34 +01:00
Remi Collet
b662a7b691
Merge branch 'PHP-7.2'
...
* PHP-7.2:
NEWS
Fixed Bug #75149 redefinition of typedefs ttinfo and t1info
2017-09-04 18:38:01 +02:00
Remi Collet
a1bf36778a
Fixed Bug #75149 redefinition of typedefs ttinfo and t1info
...
Minimal fix from upstream
Better name for struct will come later
2017-09-04 18:35:42 +02:00
Michael Moravec
d9d13aba58
Added method DateTime::createFromImmutable()
2017-08-25 22:20:43 +02:00