Commit graph

736 commits

Author SHA1 Message Date
Christoph Michael Becker
0c9c2dd669 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352191 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:26:31 +00:00
Yoshinari Takaoka
260c0b8f4d Fixed oop return type of DateTimeInterface::getOffset.
Closes CH-282.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352182 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 10:20:49 +00:00
Christoph Michael Becker
0ec192da9f date_timestamp_get() and aliases do no longer return false on failure
Cf. <b67c232189 (r45293163)>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352146 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 22:35:30 +00:00
Christoph Michael Becker
4d5206538d Fix return types
All these aliases may return false.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352145 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 18:36:10 +00:00
Christoph Michael Becker
9d45296587 Calling (gm)mktime() without arguments is deprecated as of PHP 7.0.0
We drop the duplicate notes section, but instead of moving the information down
to the end of the page, we add it to the function description.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352144 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 16:18:40 +00:00
Christoph Michael Becker
34188f8256 Generate ext/date methodsynopses based on stubs
Closes GH-185.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352143 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 15:06:41 +00:00
Christoph Michael Becker
45c7531e42 Fix #66777: strftime returns empty string when input fmt string exceeds 1024
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352122 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-18 12:37:56 +00:00
Christoph Michael Becker
e8af4bab45 Add createFromInterface() for DateTime objects
Closes GH-257.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352009 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 23:12:47 +00:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
243afef598 Document p date formatter code
Closes GH-230.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351587 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 18:10:24 +00:00
Christoph Michael Becker
bc27cd7cfc Remove obsolete PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351586 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 18:05:28 +00:00
Christoph Michael Becker
aa0b16c829 Remove obsolete PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351196 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 16:49:50 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Derick Rethans
0d122cd2d5 Updated to version 2020.4 (2020d)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350967 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-22 09:08:27 +00:00
Derick Rethans
f5acbfdba8 Updated to version 2020.3 (2020c)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350940 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-19 08:11:47 +00:00
Christoph Michael Becker
00232074c5 Fix #80207: DateTimeZone::getTransitions return array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350825 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 08:27:52 +00:00
Derick Rethans
f72a179cbe Updated to version 2020.2 (2020b)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350821 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:17:25 +00:00
Derick Rethans
67f4361d14 Updated to version 2020.2 (2020b)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350818 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:03:29 +00:00
Christoph Michael Becker
3e15d2894f Remove more changelog entries, mostly from PHP 5.4 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
53bdffa6b9 Removed some of the PHP5 changelogs
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350645 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 12:32:19 +00:00
Christoph Michael Becker
a59ed9b526 Updates for datetime extension
Patch contributed by derick@

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350219 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-27 11:47:54 +00:00
Derick Rethans
ccd0dfffdb Updated to version 2020.1 (20a)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349698 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-24 11:24:28 +00:00
Christoph Michael Becker
16b4876fe0 DatePeriod::getRecurrences() is public
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349588 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-01 15:06:21 +00:00
Christoph Michael Becker
e78b64d1cc Fix #79284: mention htrime on page microtime
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349239 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-20 08:14:20 +00:00
Christoph Michael Becker
b96ede557f Fix #79245: Document DateTime::RFC7231
This constant was introduced via 
http://git.php.net/?p=php-src.git;a=commit;h=618d97962a8ac59d981c8307cc704790f46090c8
but it was never documented.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349226 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-16 14:05:40 +00:00
Christoph Michael Becker
6baae6d411 Fix #79181: Docpage miss 'v' format definition
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349094 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-02 17:22:24 +00:00
Christoph Michael Becker
06e35bddfe Fix #78835: Ambiguous definition of format character
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348466 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-08 15:21:57 +00:00
Christoph Michael Becker
1ca11e8adb Fix #78669: timezone_abbreviations_list only lists from compiled in db, not PECL timezonedb
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348186 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-20 10:41:18 +00:00
Christoph Michael Becker
5d67e7308d Fix #78524: The zone element of the array is also changed for date_parse in 7.2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348153 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-13 16:24:18 +00:00
Derick Rethans
7f02e203d4 Updated to version 2019.3 (2019c)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348122 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-02 22:36:27 +00:00
Derick Rethans
62c9e71a52 Updated to version 2019.2 (2019b)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347834 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-11 15:03:29 +00:00
George Peter Banyard
0394c09fd5 Minor improvements to the createFromImmutable method.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347663 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-25 16:02:42 +00:00
George Peter Banyard
b824e2b108 Remove PHP 4 and 5.0.0 mentions.
This includes changelogs but also some paragraphs and notes which mention PHP 4.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347555 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-05 17:31:34 +00:00
George Peter Banyard
2e4914ba37 Fix changelog order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347543 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-04 19:07:49 +00:00
Christoph Michael Becker
961158904b Add DateTime::createFromImmutable docs
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347532 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-03 12:40:11 +00:00
George Peter Banyard
ed71049232 Typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347123 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-02 19:56:05 +00:00
Derick Rethans
b2c530eea1 Updated to version 2019.1 (2019a)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347112 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-01 09:34:04 +00:00
Christoph Michael Becker
c3342c4607 Document #75113: adding missing DatePeriod::getRecurrences method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347018 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-18 08:43:20 +00:00
Christoph Michael Becker
09e2269515 Add missing <initializer>
Based on a patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346945 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-01 17:47:59 +00:00
Peter Cowburn
4321211c79 update type for DateTimeZone::getOffset's $datetime parameter (doc #77671)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346912 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-26 20:38:21 +00:00
Christoph Michael Becker
66e3e8f0d0 Fix description of what parameter in DateTimeZone::listIdentifiers
Patch provided by Gregor Kralik.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346614 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-21 11:09:08 +00:00
Derick Rethans
ab9325e08e Updated to version 2018.9 (2018i)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346569 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-07 11:47:37 +00:00
Christoph Michael Becker
2911a4edd4 Add missing initializers
Based on a patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346084 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 11:34:39 +00:00