Commit graph

246 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
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
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
afddb41986 Improve return value description based on Tyson's suggestion
Cf. <https://github.com/php/doc-en/pull/243#issuecomment-735011633>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351712 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 23:51:15 +00:00
Christoph Michael Becker
74abd95c4e Argument of sapi_windows_cp_get is optional
Closes GH-243.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351710 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 23:22:31 +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
9e0f03ac35 Proper variadics instead of pseudo variadics
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +00:00
Christoph Michael Becker
53242ee662 Properly markup union types
Since r350738 added support for union types to our DocBook DTD, we
should use it.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351075 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 10:45:25 +00:00
Christoph Michael Becker
a532689f9f Fix #80187: pack and unpack wrong return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350770 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-05 10:23:13 +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
5ebd63a4b5 Reflect removal of functions dropped in minor or patch releases
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350652 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:40:03 +00:00
Christoph Michael Becker
be1cedff74 Fix #79871: On Windows, php can sleep only in 1ms steps
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350174 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-20 09:11:51 +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
58f2241106 Fix #79012: sapi_windows_set_ctrl_handler missing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348652 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-21 16:27:25 +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
Christoph Michael Becker
a90eb9efd5 Improve sapi_windows_vt100_support() docs
Most notably, we're adding info about Console Virtual Terminal Sequences.

Patch provided by Florian Berberich.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346833 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-14 21:49:17 +00:00
Christoph Michael Becker
cf1cd131fc Fix #77435: Documentation linking issue for hrtime()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346582 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-09 18:47:38 +00:00
Christoph Michael Becker
962214a5cc Simplify signature of variadic functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346102 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 19:09:14 +00:00
Christoph Michael Becker
638e03e226 Fix #77100: Inconsistent behavior between constants and magic constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345954 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 14:56:40 +00:00
Christoph Michael Becker
55b9bc0a53 Case-insensitive constants are deprecated as of PHP 7.3.0
While there is already a respective changelog entry, we also
add a warning to the respective parameter.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345952 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 13:59:19 +00:00
Christoph Michael Becker
e531763926 Remove second "has".
-- 
Provided by anonymous 94502 (shaman_master@list.ru)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345947 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-03 13:40:31 +00:00
Christoph Michael Becker
96477bc8db Fix changelog order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345716 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 12:00:59 +00:00
Christoph Michael Becker
b18ef859a2 Add deprecation notice for parameter used in define function
-- 
Provided by anonymous 93866 (giantcrabby@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345713 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 11:46:59 +00:00
Christoph Michael Becker
290080bd4d Fix #76486: hrtime() return value descriptions unclear
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345156 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 21:24:48 +00:00
Christoph Michael Becker
f0a1e153d5 Document new hrtime() function
Based on patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345130 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 16:59:02 +00:00
Christoph Michael Becker
ac05776cd0 Document sapi_windows_vt100_support()
Patch provided by Michele Locati.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345089 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 10:56:42 +00:00
Jakub Vrana
13ab43e265 Standardize filenames
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344354 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-24 17:11:35 +00:00
Christoph Michael Becker
771733d62d Document $offset parameter (as of PHP 7.1.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344003 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 12:41:10 +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
Kalle Sommer Nielsen
26b781ca38 Added a note about float+double support regardless of endianness in pack() and unpack()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343500 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 16:04:05 +00:00
Christoph Michael Becker
d1ef410fbc Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342917 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 21:35:12 +00:00
Christoph Michael Becker
93ba65ea6f Partially fix #75094: Functions not documented
We document the sapi_windows_cp_*() functions which have
been introduced in PHP 7.1.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342909 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 14:44:30 +00:00
Jean-Sebastien Hedde
c51f2e7096 add description for e,E,g,G for pack and unpack
-- 
Provided by anonymous 82900 (sskaje@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342601 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-16 12:45:27 +00:00
Pieter Hordijk
2f0b370489 Clarified how the function behaves with regards to short open tags
https://bugs.php.net/bug.php?id=73142

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342253 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 19:22:14 +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
Maciej Sobaczewski
eda3636cc9 It is already stated few lines above, DRY.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341076 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-19 05:49:53 +00:00
Christoph Michael Becker
fa71ef64bc Fix #61169: unpack() with unnamed elements
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340197 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-26 17:00:23 +00:00
Yasuo Ohgaki
e70ff36756 Correct uniqid() description. It does not return unique ID always
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340020 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-13 02:28:52 +00:00
Christoph Michael Becker
cf895b5554 Add respectively replace &caution.cryptographically-insecure;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339624 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 12:25:24 +00:00
Christoph Michael Becker
ff163b0d8e Show example output instead of lengthy explanation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339347 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 14:23:39 +00:00
Christoph Michael Becker
3a0c7df3b6 fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338915 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:52:36 +00:00
Thomas Punt
158ca973fb Fixes bug #71107
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338301 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 17:21:47 +00:00
Christoph Michael Becker
a0a0165e07 fixed #70929: create_function now throws ParseError
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338282 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 11:38:30 +00:00
Christoph Michael Becker
f87f6d6166 Teach new developers to use proper coding practices
-- 
Provided by anonymous 62290 (bernhard@coffeecode.co.za)

Well, let's say we don't want to rely on short_open_tags, and don't assume PHP 5.4+ here.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337546 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 23:43:40 +00:00
Adam Harvey
ef362e88b3 Update define() documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337362 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:42 +00:00
Christoph Michael Becker
3ea3c4e9b6 typo fixes by Thomas Punt
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337317 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:49:56 +00:00
Maciej Sobaczewski
9301355165 Document PHP 7 possibility to define array constants using define()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336809 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 14:57:54 +00:00
Peter Cowburn
784da10c3e "micro seconds" replaced by "microseconds"
-- 
Provided by dima (freax@pop3.ru)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335234 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-01 16:52:59 +00:00
Leigh
71d67bbda8 Apparently 5.6.2 was secfix only, bumping feature documentation to 5.6.3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335075 c90b9560-bf6c-de11-be94-00142212c4b1
2014-10-16 15:59:40 +00:00