Commit graph

112 commits

Author SHA1 Message Date
Grigory Tumakov
ea8a344693
Rename old function "setproctitle" to "cli_set_process_title" (#1008) 2021-10-11 15:29:31 +08:00
Yoshinari Takaoka
7d05fb0d20
more fix about pcntl_waitpid patameter markup. 2021-08-18 22:39:29 +09:00
Sergey Panteleev
c42d3d8905
Fix pcntl (#860) 2021-08-18 12:12:36 +03:00
Máté Kocsis
b890f28c0c
Update ext/pcntl methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-600.
2021-08-17 23:21:44 +02:00
George Peter Banyard
782d62b55a Fix section order issues in PCNTL extension
Part of #658
2021-06-06 18:03:03 +01:00
Sergey Panteleev
a0ae28d3bc
Removed references to PHP 5, PHP 7.0 (#545) 2021-04-24 20:01:17 +03:00
Yoshinari Takaoka
407e4b50b7 Added PHP 8 into versions.xml for pcntl based on stubs.
Closes GH-349.
2021-01-17 16:00:30 +01:00
Christoph Michael Becker
412052d434 Fix instances of siginfo and signinfo being used interchangably on pcntl_signal page
Closes GH-274.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351964 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 11:35:54 +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
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
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
aebf045bfb Fix miscellaneous typos
Detected by codespell

Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349708 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:43:55 +00:00
George Peter Banyard
508e255fff Remove PHP 4 and 5.0.0 mentions.
This includes changelogs but also some paragraphs and notes which mention PHP 4.

This should include all mentions of PHP 4 in "bundled" extensions

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347589 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-11 13:21:49 +00:00
Christoph Michael Becker
ac51aaac3b Fix changelog entries
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344866 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 15:08:50 +00:00
Jakub Vrana
7c50ead1ed Fix versions based on parsed php-src
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +00:00
Jakub Vrana
c60c09370e Use &return.nullorfalse;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343912 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 09:44:46 +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
Jakub Vrana
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +00:00
Christoph Michael Becker
65d415fd32 Fix see-also link to declare
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342918 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 21:43:14 +00:00
Christoph Michael Becker
40f8906960 Rename file for consistency
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342912 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 15:43:09 +00:00
Christoph Michael Becker
3292ed699a Fix #75094: Functions not documented
We document pcntl_async_signals().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342911 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 15:37:18 +00:00
Maciek Sokolewicz
ece3dc6b4c Documentation of the new pcntl_signal_get_handler function (available from PHP 7.1.0)
-- 
Provided by David Walker (dave@mudsite.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341940 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-21 10:43:49 +00:00
Christoph Michael Becker
eecd69fcd9 Fix #65185: pcntl_errno() is wrongly defined as an alias of pcntl_strerror()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341794 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-28 16:47:29 +00:00
Christoph Michael Becker
518beeb50e with PHP 7.1 the following RFC was implemented: https://wiki.php.net/rfc/additional-context-in-pcntl-signal-handler
-- 
Provided by anonymous 57081 (dave@mudsite.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341616 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-07 12:56:06 +00:00
Christoph Michael Becker
049599c32d Update version info
Patch provided by David Walker.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341615 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-07 12:49:19 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Christoph Michael Becker
f96f7aecf8 improved examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336937 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-13 22:10:18 +00:00
Peter Cowburn
f7e54cdf23 Since this function only ever returns FALSE, if it returns at all, the return type in the prototype should be `bool.'
Patch by cpeake@absolutedigital.net

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336517 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-13 14:48:48 +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
8b5940cade Remove changelogs for PHP 4 - 2nd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Maciek Sokolewicz
d059bd81d5 fixed typo (above example -> example below)
Thanks to [a user whose name I can't find in the PHDOE-system anymore??]

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332508 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-23 22:30:19 +00:00
Adam Harvey
426604e8f9 Update the types pcntl_signal() can handle as the handler, and expand the
documentation for what the handler callback should actually look like.

Fixes doc bug #65008 (pcntl_signal()'s wrong method signature).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330486 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-12 19:30:38 +00:00
Jakub Vrana
b89d5b4683 Add missing version info
Found by PhD

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330435 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 22:33:43 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
b608b32388 Document new PCNTL functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330294 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-19 17:58:15 +00:00
Peter Cowburn
2d958f6b1e WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329673 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-05 21:47:43 +00:00
Peter Cowburn
2d648811f2 fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329672 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-05 21:47:32 +00:00
Peter Cowburn
11d2d77eb9 pcntl_signal() does not stack handlers
----
Patch provided by "da vinci"

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329664 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-05 20:48:59 +00:00
Joe Watkins
e25450d9dc many bugs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328365 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 13:40:31 +00:00
Peter Cowburn
9ee94cd5a8 Fix missing parenthesis in comment in example
--
Provided by anonymous #22227 (mail+php@requinix.net)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328334 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:30 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Jakub Vrana
5faa7a6747 Document and use callable type hint introduced in PHP 5.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:55:59 +00:00
Jakub Vrana
4de5cce5d8 Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +00:00
Richard Quadling
c0c8c53cbe Missing ;
Fix bug#55018

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311978 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-09 17:14:59 +00:00
Richard Quadling
79dcbe011f Provide title to example sections which are currently missing their title and are not accessible via links. Fix #54693
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310851 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-09 14:13:30 +00:00
Hannes Magnusson
ba5e388f61 See also to setproctitle
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310617 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-28 10:08:02 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00