Commit graph

293 commits

Author SHA1 Message Date
Sergey Panteleev
4411b371d0
Fix some issues in misc directory
Part of #658
2021-06-13 12:54:30 +03:00
Máté
c44475e1fa
Generate methodsynopses based on stubs for Zend functions and methods
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-168.
2021-05-22 16:48:16 +02:00
Sergey Panteleev
f9c4a68ef4
Removed references to PHP 5, PHP 7.0 (#548) 2021-04-26 11:46:55 +03:00
Sergey Panteleev
a0ae28d3bc
Removed references to PHP 5, PHP 7.0 (#545) 2021-04-24 20:01:17 +03:00
Sergey Panteleev
5fabd07880
Removed Changelog entries for PHP 5, PHP 7.0 (#543) 2021-04-22 17:52:58 +03:00
Christoph M. Becker
95bc76b545 Fix #74479: usleep with large numbers 2021-03-03 14:40:16 +01:00
Yoshinari Takaoka
705313ab21 Added PHP 8 into versions.xml for misc based on stubs.
Closes GH-410.
2021-01-26 18:21:38 +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
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
c0020be1f4 Add missing version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345091 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:10:52 +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
Jakub Vrana
df5d174974 Unify version format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344062 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:02:40 +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