Commit graph

333 commits

Author SHA1 Message Date
Máté Kocsis
a411286750 Generate methodsynopses based on recently updated stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-362.
2021-01-18 23:31:36 +01:00
Christoph M. Becker
0a10abc505 Fix #75073: date_default_timezone_set() doesn't reflect removal 2021-01-15 15:45:42 +01:00
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
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
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
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
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
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
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
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
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
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
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
Christoph Michael Becker
31af10a4a2 Fix #76838: date_parse_from_format() changed meaning of zone value in PHP 7.2 -> BC break
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345615 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-09 15:42:19 +00:00
Christoph Michael Becker
866b749d19 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345236 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 14:12:50 +00:00
Christoph Michael Becker
9cc4767b2d What's in a name?
The Macintosh operating systems changed their name a few times since
version 10. We follow suite, and use the proper name whenever we refer
to a certain version, and use “macOS” as generic term, since “Mac OS X”
and “OS X” versions are already unsupported, or loose support at the end
of this year.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345139 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:50:40 +00:00
Christoph Michael Becker
c84f47ac7f Document the zenith angles which are used for the calculation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344255 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-13 13:44:31 +00:00
Christoph Michael Becker
efe705d94a Document $zenith parameter
This integrates user note 82801, and is supposed to make 
user note 47839 superfluous.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344247 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-12 18:34:40 +00:00
Christoph Michael Becker
6b897704a1 Fix bug #46670: date_sunrise (date_sunset) works incorrectly with gmtoffset parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344245 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-12 17:19:29 +00:00
Christoph Michael Becker
0f43dbaec0 Document structure of result array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344223 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 17:41:41 +00:00
Christoph Michael Becker
6250f7fb10 Clarify possible element types
We also give examples for polar night and midnight sun.
This integrates user note 83903 and 116828.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344216 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 16:41:08 +00:00
Christoph Michael Becker
7e4c47b05c date_sun(rise|set) fails if the sun does not rise or set
This integrates user note 114896.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344215 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 16:01:56 +00:00
Christoph Michael Becker
335b42f561 Add relevant links
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344214 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 14:11:44 +00:00
Christoph Michael Becker
8ed83c937f Add changelog entry regarding bug #39965
This integrates user note 111399.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344213 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 13:58:09 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Christoph Michael Becker
50fe627f4f Fix #73787: strftime %k documentation self-contradicts
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341417 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-19 13:56:45 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Christoph Michael Becker
a64043d7c6 This adds the 'v' format character introduced in e6819794eb
-- 
Provided by anonymous 77751 (me@jiripudil.cz)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341025 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-15 12:29:50 +00:00
Christoph Michael Becker
5894f6e970 Fix #68102: Incorrect / misleading description of the ISO-8601 week-numbering year
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339714 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-25 15:36:08 +00:00
Christoph Michael Becker
bd034b66e9 typo fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339242 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-30 14:13:34 +00:00
Christoph Michael Becker
bbed905d26 clarified behavior of nn-nn-nn parsing (fixes #61314)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337698 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-01 23:52:22 +00:00
Christoph Michael Becker
8d6a0d5257 documented parsing of relative formats (fixes #70209)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337325 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-07 21:03:06 +00:00
Christoph Michael Becker
f9aed876b8 clarified date() documentation regarding microseconds (#fixes 69789)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336982 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-16 20:46:13 +00:00
Maciej Sobaczewski
bce4e5f7d7 Document $is_dst parameter removal in PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336807 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 05:23:31 +00:00
Pedro Antonio Gil Rodríguez
480059bf56 Fiexed: %k format output was empty
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336488 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-11 12:21:24 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
4a0ea56892 Focus on current PHP versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334557 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-17 07:49:10 +00:00
Peter Cowburn
9edaff269c Typofix (spacing in example comment)
--
Patch by anonymous #45510

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333770 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-13 08:12:47 +00:00
Joe Watkins
631b47c6b2 #65951 clarity in description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331966 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-25 15:58:40 +00:00