Dmitry Stogov
97156bc141
Fixed string length
2014-03-07 17:06:13 +04:00
Dmitry Stogov
dfe1fd73bf
Fixed uninitialized value
2014-03-06 16:09:00 +04:00
Xinchen Hui
9a81b6dea4
Fixed memory leak in ext/standard/tests/time/strptime_parts.php
2014-03-06 18:51:20 +08:00
Derick Rethans
18178aa013
Merge branch 'PHP-5.6'
2014-03-02 14:18:58 -05:00
Derick Rethans
574f230d3c
Added DateTimeImmutable::createFromMutable.
2014-03-02 14:18:44 -05:00
Xinchen Hui
a5ce7d526e
Revert "Move zend_objects_store_put out of zend_object_std_init"
...
This reverts commit 8ced4f0ac9
.
2014-02-28 13:59:07 +08:00
Xinchen Hui
8ced4f0ac9
Move zend_objects_store_put out of zend_object_std_init
2014-02-28 12:59:51 +08:00
Dmitry Stogov
4ba590697e
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-27 15:40:51 +04:00
Dmitry Stogov
1c3ba95bb5
Refactored read_property() and read_dimension() handlers
2014-02-27 15:40:13 +04:00
Xinchen Hui
382b0dfdb7
Refactoring zend_iterator (incompleted)
2014-02-27 19:19:02 +08:00
Dmitry Stogov
495551aa8c
Fixed iterators API. zend_iterator_init() has to be used in each get_iterator() callback.
2014-02-26 15:01:08 +04:00
Xinchen Hui
c1c4d26817
Use better data structures (incomplete)
2014-02-19 17:58:39 +08:00
Xinchen Hui
43b03c74b3
Refacting smart_str
2014-02-18 17:42:46 +08:00
Derick Rethans
c4e6c12b71
Merge branch 'PHP-5.6'
2014-02-11 11:31:13 +00:00
Derick Rethans
75f59e148c
Merge branch 'PHP-5.5' into PHP-5.6
2014-02-11 11:31:06 +00:00
Derick Rethans
39e721cf50
Fixed ZTS and added fix to NEWS.
2014-02-11 11:27:01 +00:00
Dmitry Stogov
f4cfaf36e2
Use better data structures (incomplete)
2014-02-10 10:04:30 +04:00
Derick Rethans
9fa6bcd8cb
Merge branch 'PHP-5.5' into PHP-5.6
2014-02-09 15:57:43 -05:00
Derick Rethans
d676396435
Implemented feature #45528 : Allow the DateTimeZone constructor to accept timezones per offset too.
2014-02-09 15:47:48 -05:00
Derick Rethans
e196dce45a
Rename timelib_get_zone to timelib_parse_zone and export.
2014-02-09 15:47:48 -05:00
Derick Rethans
a30ebbdb18
Merge branch 'PHP-5.6'
2014-02-09 15:57:54 -05:00
Derick Rethans
6dd41435a3
Merge branch 'PHP-5.6'
2014-01-26 14:02:55 +01:00
Derick Rethans
2e65908643
Merge branch 'PHP-5.5' into PHP-5.6
2014-01-26 14:02:44 +01:00
Derick Rethans
7399386a20
Merge branch 'PHP-5.4' into PHP-5.5
2014-01-26 14:02:37 +01:00
Derick Rethans
22dba2f5f3
Fixed bug #45543 : DateTime::setTimezone can not set timezones without ID.
2014-01-26 14:01:58 +01:00
Derick Rethans
0f62b94971
Merge branch 'PHP-5.6'
2014-01-25 16:16:42 +01:00
Derick Rethans
0f79cc6eae
Merge branch 'PHP-5.5' into PHP-5.6
2014-01-25 16:16:34 +01:00
Derick Rethans
93ede745bc
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/date/lib/parse_date.c
2014-01-25 16:16:23 +01:00
Derick Rethans
e6ab180394
Fixed bug #44780 : some time zone offsets not recognized by timezone_name_from_abbr.
2014-01-25 16:14:51 +01:00
Anatol Belski
9aaea81cfe
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed EOL in the test
2014-01-09 15:29:16 +01:00
Anatol Belski
ec89e6bfe2
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fixed EOL in the test
2014-01-09 15:28:47 +01:00
Anatol Belski
4f115c0b7d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed EOL in the test
2014-01-09 15:28:09 +01:00
Anatol Belski
b8774519e2
fixed EOL in the test
2014-01-09 15:27:26 +01:00
Anatol Belski
3572a0482d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
added testcase from bug #65371
2014-01-09 15:25:18 +01:00
Anatol Belski
4fe9a5d611
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
added testcase from bug #65371
2014-01-09 15:24:55 +01:00
Anatol Belski
418602adfb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
added testcase from bug #65371
2014-01-09 15:24:31 +01:00
Anatol Belski
e927dbd1f6
added testcase from bug #65371
2014-01-09 15:23:49 +01:00
Xinchen Hui
af6c11c5f0
Bump year
2014-01-03 11:11:57 +08:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Xinchen Hui
c0d060f5c0
Bump year
2014-01-03 11:04:26 +08:00
Derick Rethans
110b7dcfb8
Merge branch 'PHP-5.5' into PHP-5.6
2014-01-02 12:47:44 +00:00
Derick Rethans
5137cb5f0c
Fixed (some of) add/sub.
...
This worked in PHP 5.4 already, but with the introduction of DateTimeImmutable
this code was not correctly merged.
2014-01-02 12:45:48 +00:00
Derick Rethans
d4f4b66d43
Merge branch 'PHP-5.5' into PHP-5.6
2013-12-19 19:01:00 +00:00
Derick Rethans
7a402ca51e
Merge branch 'PHP-5.4' into PHP-5.5
2013-12-19 18:58:45 +00:00
Derick Rethans
e881334e49
- Updated to version 2013.9 (2013i)
2013-12-19 18:58:44 +00:00
Michael Wallner
1dfbe99ce4
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix test
2013-12-12 12:09:54 +01:00
Michael Wallner
8ee6fe9856
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix test
2013-12-12 12:09:34 +01:00
Michael Wallner
c59f3184a3
fix test
2013-12-12 12:08:50 +01:00
Nikita Popov
66b0d17f04
Merge branch 'PHP-5.5' into PHP-5.6
2013-11-29 23:31:13 +01:00
nikita2206
5f09944662
Fixed bug #65768 : DateTimeImmutable::diff does not work
...
This commit also prevents user classes from directly implementing
DateTimeInterface, because ext/date relies on classes implementing
it to support certain internal structures.
2013-11-29 23:31:07 +01:00
Derick Rethans
c3ac86c569
Merge branch 'PHP-5.5' into PHP-5.6
2013-11-28 16:33:17 +00:00
Derick Rethans
b0d24d3d20
Merge branch 'PHP-5.4' into PHP-5.5
2013-11-28 16:33:08 +00:00
Derick Rethans
d22cc5c816
Fixed bug #65199 (Wrong Day of Week) and fixed bug #63391 (Incorrect/inconsistent day of week prior to the year 1600)
2013-11-28 16:32:11 +00:00
Derick Rethans
3bf71b42b1
Merge branch 'PHP-5.5' into PHP-5.6
2013-11-28 14:45:26 +00:00
Derick Rethans
88067b6e60
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/date/php_date.c
2013-11-28 14:30:08 +00:00
Derick Rethans
aab0b2ce3b
Marking those two as XFAIL for now.
2013-11-28 14:24:39 +00:00
Derick Rethans
582f6e529e
Fixed a few DST changeover issues.
2013-11-28 12:02:36 +00:00
Derick Rethans
5d0c526199
Move add/sub to timelib.
2013-11-28 12:02:36 +00:00
Derick Rethans
324e6a5f82
Fix backwards transition diffs.
2013-11-28 12:02:36 +00:00
Derick Rethans
aa26ace21f
Split up tests into their different categories.
2013-11-28 12:02:35 +00:00
Derick Rethans
7a0df7be34
Group those tests a bit better, as some of the bd ones wanted a "ST" feature that doesn't exist yet.
2013-11-28 12:02:35 +00:00
Derick Rethans
6e8b2c91c4
Fixed forward transitions in diffs.
2013-11-28 12:02:35 +00:00
Derick Rethans
261c6b31ca
Always reset those parameters.
2013-11-28 12:02:35 +00:00
Derick Rethans
44a9e6b484
Fixed "Forward Transition" construction of DateTime objects.
...
This fixes the issue in
https://wiki.php.net/rfc/datetime_and_daylight_saving_time#forward_transitions
There is a period during transition to DST where a time (such as 02:30) does
not exist. PHP already calculated the correct timestamp for this, but failed to
"rounded forward" to the existing correct hour value.
2013-11-28 12:02:35 +00:00
Derick Rethans
d3a12317cf
Merge branch 'PHP-5.5' into PHP-5.6
2013-11-27 22:01:09 +00:00
Derick Rethans
4587ef569a
Merge branch 'PHP-5.4' into PHP-5.5
2013-11-27 22:01:03 +00:00
Derick Rethans
23ab2575e1
Fixed bug #53879 (DateTime::createFromFormat() fails to parse cookie expiration date)
2013-11-27 21:59:46 +00:00
Remi Collet
56909e7d9d
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fixed bug #66060 (Heap buffer over-read in DateInterval)
2013-11-27 11:15:58 +01:00
Remi Collet
28d215d0a8
Fixed bug #66060 (Heap buffer over-read in DateInterval)
2013-11-27 11:15:08 +01:00
Remi Collet
12fe4e90be
Fixed bug #66060 (Heap buffer over-read in DateInterval)
2013-11-27 11:13:16 +01:00
Derick Rethans
f626db130c
Merge branch 'PHP-5.5'
2013-10-28 15:12:38 +01:00
Derick Rethans
ad7793d94c
Merge branch 'PHP-5.4' into PHP-5.5
2013-10-28 15:12:31 +01:00
Derick Rethans
ab6481993e
- Updated to version 2013.8 (2013h)
2013-10-28 15:12:30 +01:00
Derick Rethans
20f7fcefdb
Merge branch 'PHP-5.5'
2013-10-23 22:33:59 +01:00
Derick Rethans
bb73d18c85
Merge branch 'PHP-5.4' into PHP-5.5
2013-10-23 22:33:54 +01:00
Derick Rethans
9cb3a759a7
- Updated to version 2013.7 (2013g)
2013-10-23 22:33:53 +01:00
Stanislav Malyshev
19e8052be3
Merge branch 'PHP-5.5'
...
* PHP-5.5:
fix memory leak on error (from Coverity scan)
2013-10-21 00:02:33 -07:00
Stanislav Malyshev
cb47396d46
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix memory leak on error (from Coverity scan)
2013-10-21 00:02:21 -07:00
Stanislav Malyshev
f860486de5
fix memory leak on error (from Coverity scan)
2013-10-21 00:01:24 -07:00
Derick Rethans
9ef4e5d23d
Merge branch 'PHP-5.5'
2013-09-27 10:14:51 +01:00
Derick Rethans
ea0f832f10
Merge branch 'PHP-5.4' into PHP-5.5
2013-09-27 10:14:47 +01:00
Derick Rethans
7a1a1aec8c
- Updated to version 2013.6 (2013f)
2013-09-27 10:14:46 +01:00
David Soria Parra
ca75e6f760
Merge branch 'PHP-5.5'
...
* PHP-5.5:
NEWS for #60577
NEWS for bug #64441
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
EmptyIterator now implements Countable; fixes bug 60577
News for bugfix #64157
Bug 64157 Changed error message to make sense
2013-09-16 23:36:48 +02:00
David Soria Parra
3d6ac70e66
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS for #60577
NEWS for bug #64441
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
EmptyIterator now implements Countable; fixes bug 60577
News for bugfix #64157
Bug 64157 Changed error message to make sense
2013-09-16 23:36:37 +02:00
Boro Sitnikovski
a475b2c1db
Bug 64157
...
Changed error message to make sense
2013-09-16 03:42:49 +02:00
Nikita Popov
89d115264c
Merge branch 'PHP-5.5'
2013-09-12 15:23:11 +02:00
Boro Sitnikovski
165f544ae9
Fix bug #65502 : DateTimeImmutable::createFromFormat returns DateTime
...
DateTimeImmutable::createFromFormat should call
date_create_immutable_from_format instead of date_create_from_format
2013-09-12 15:21:45 +02:00
Nikita Popov
32437b945a
Merge branch 'PHP-5.5'
2013-09-12 15:15:17 +02:00
Boro Sitnikovski
d7f5f1ef35
Fix bug #65548 : Comparison for DateTimeImmutable doesn't work
2013-09-12 15:12:16 +02:00
Remi Collet
9e17094cf4
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Fixed bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
Fixed Bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
2013-08-30 10:46:06 +02:00
Remi Collet
6fab1caa41
Fixed bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
2013-08-30 10:45:33 +02:00
Remi Collet
a5749eb0cb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed Bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
2013-08-30 10:43:12 +02:00
Remi Collet
d69513afec
Fixed Bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
2013-08-30 10:42:08 +02:00
Stanislav Malyshev
7c08ce243c
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Fix bug #65554 in DateTime, when use it with D/l in format and textual day have dot at the end
2013-08-25 15:14:36 -07:00
Stanislav Malyshev
825a505494
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #65554 in DateTime, when use it with D/l in format and textual day have dot at the end
Conflicts:
ext/date/lib/parse_date.c
ext/date/lib/parse_date.re
2013-08-25 15:14:17 -07:00
gron1987
e6424d89e9
Fix bug #65554 in DateTime, when use it with D/l in format and textual day have dot at the end
2013-08-25 15:09:29 -07:00
Stanislav Malyshev
01c028a475
Merge branch 'pull-request/322'
...
* pull-request/322:
Remove semicolon
Fix DateInterval->days value when object was created not from DateTime::diff()
2013-08-24 23:39:09 -07:00
Stanislav Malyshev
c0bfccafd2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix DateInterval->days value when object was created not from DateTime::diff()
2013-08-24 23:38:54 -07:00
Alexander Moskalev
b378b0b081
Fix DateInterval->days value when object was created not from DateTime::diff()
2013-08-24 23:38:33 -07:00