1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

144 Commits

Author SHA1 Message Date
Máté Kocsis
fcd9214294 Sync return type changes (#5075) 2026-03-08 21:03:56 +01:00
Máté Kocsis
aa120f36c5 Sync parameter type and name changes (#5073)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2026-01-14 22:09:32 +01:00
Juliette
4fbe069131 pcntl_waitid(): add changelog section (#4949)
Page: https://www.php.net/manual/en/function.pcntl-waitid.php

The PHP 8.5 new `$resource_usage` parameter was added to the docs in PR 3854, but no changelog section was added, giving the reader the impression that the parameter was part of the function signature since the function was introduced, which is not true.

Refs:
* php/php-src 15921

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2025-10-26 16:01:04 +01:00
Vladimir Vrzić
8e31067f1a Document the resource_usage param for pcntl_waitid (#3854) 2025-09-01 07:24:39 +01:00
Gina Peter Banyard
fc9cab7d56 Fix Pcntl\QosClass enum symbol names (#4518)
Co-authored-by: Luffy <52o@qq52o.cn>
2025-06-24 11:12:20 +08:00
Niels Dossche
1d45574f4d Fix GH-4718: Incorrect "See also" in pcntl_setcpuaffinity() manual page (#4736) 2025-06-21 00:13:55 +02:00
Derick Rethans
5fe0f84943 Fix XML (missing namespace dfinition) 2025-04-09 09:35:32 +01:00
AllenJB
e91b2dd253 pcntl_signal: Switch to pcntl_async_signals and improve documentation (#4539) 2025-03-17 11:04:45 +00:00
Philippe DELENTE
a747e132c5 Clarify behaviour of pcntl_waitpid() (#4437) 2025-02-06 12:55:00 +00:00
Pierre Ambroise
262ca5a532 Remove duplicate dot (#4428) 2025-01-30 17:35:29 +00:00
David CARLIER
5af24e453c [PHP 8.4] pcntl add cpu affinity calls. (#4346)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2025-01-30 12:38:01 +00:00
Máté Kocsis
18aa2012f6 Synchronize manual with stubs for PHP 8.4 - part 8 (#4227)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-12-03 20:15:59 +01:00
David CARLIER
7bc131d655 [PHP 8.4] pcntl update part 1 (#4208) 2024-12-02 13:06:27 +00:00
Gina Peter Banyard
ee8d203f92 PCNTL: Include new enum into docs (#4104)
And xix QoS XML IDs
2024-11-20 16:57:14 +00:00
David CARLIER
cb0823d467 [PHP 8.4] Pcntl::QosClass (#4095) 2024-11-18 15:16:18 +00:00
David CARLIER
71fa455c56 [PHP 8.4] PCNTL constants update (#4073) 2024-11-17 22:59:00 +00:00
Ayesh Karunaratne
89590b202f reference/pcntl: Fix pcntl_strerror(,,$info) parameter name (#3770)
The doc uses `siginfo` as the third parameter name to the `pcntl_waitid`
function. However, `php-src` name for this parameter is `info`[^1].

[^1]: https://github.com/php/php-src/blob/php-8.4.0beta5/ext/pcntl/pcntl.stub.php#L1010
2024-09-23 10:03:10 +01:00
Ayesh Karunaratne
e7dcfdc342 reference/pcntl: Fix pcntl_strerror($error_code) parameter name (#3769)
The doc uses `error_number` as the first parameter to the `pcntl_strerror`
function. However, `php-src` name for this parameter is `error_code`[^1],
and it has always been[^2] `error_code`

[^1]: https://github.com/php/php-src/blob/php-8.4.0beta5/ext/pcntl/pcntl.stub.php#L1075
[^2]: https://github.com/php/php-src/blob/PHP-8.0/ext/pcntl/pcntl.stub.php#L75
2024-09-23 10:02:43 +01:00
Vladimir Vrzić
4ac5624be0 Add documentation for pcntl_waitid and its related constants (#3518) 2024-09-22 20:06:26 +01:00
haszi
48ce43fe79 Remove empty resources pages (#3545)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-26 02:17:29 +01:00
haszi
765b2d6eec Remove empty configuration pages (#3538)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 22:24:55 +01:00
haszi
605553e228 Remove empty requirements pages (#3464)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-07 14:34:34 +01:00
haszi
3535c3901f Add missing PCNTL constants (#3501)
Co-authored-by: haszi <haszika80@gmail.com>
2024-06-28 22:10:43 +01:00
haszi
2f04e6401f Add missing PCNTL error constants (#3414)
Co-authored-by: haszi <haszika80@gmail.com>
2024-05-27 14:01:58 +01:00
haszi
61374bbe22 Change literal to constant tags 2024-04-16 10:45:49 +01:00
Sergey Panteleev
b9356ec9cb [PHP 8.3] New pcntl constants (#3092) 2024-01-10 21:15:42 +00:00
Alexandre Daubois
b84361b953 Add note about pcntl_rfork function availability (#2632) 2023-07-31 16:44:54 +01:00
Máté Kocsis
d6aee4a500 Sync a few manual pages with the stubs (#1936) 2022-11-04 13:30:04 +01:00
Christoph M. Becker
4ecb2c1b4b Mutually link proc_nice() and pcntl_setpriority() 2022-07-20 16:01:55 +02:00
Christoph M. Becker
e251b5cfdb Document PRIO_DARWIN_BG and PRIO_DARWIN_THREAD
Cf. <https://github.com/php/php-src/pull/7075>.
2022-07-20 15:51:57 +02:00
Sergey Panteleev
58c419eb2e [PHP 8.1] Add pcntl_rfork description (#1033) 2022-03-31 10:41:26 -05:00
Sergey Panteleev
d7c1097cca Add pcntl_unshare description (#958)
* Add pcntl_unshare description

* Group pcntl constants
2022-03-13 23:55:35 +00:00
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