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

122 Commits

Author SHA1 Message Date
Louis-Arnaud
5b7646656e Fix return type for 5 misc functions: bool -> true (#5357)
* Fix return type for 5 functions: bool -> true

These functions always return true (or throw on error):
- finfo_close (fileinfo)
- ftp_set_option (ftp)
- libxml_set_external_entity_loader (libxml)
- shm_detach (shmop)
- array_multisort (standard)

* Add changelog entries for return type change bool -> true

* Fix changelog version: use 8.5.0 instead of entity hardcoded to 8.2.0

The &return.type.true; entity is hardcoded with version 8.2.0, but all
5 functions changed their return type from bool to true in PHP 8.5.
Replace the entity with manual changelog rows using the correct version.
2026-03-02 22:55:02 +01:00
Gina Peter Banyard
fd2f14b2e4 sem: fix XML by converting para to simpara tags via script 2026-01-26 15:32:38 +00:00
Gina Peter Banyard
9f2874ae15 sem: fix XML to remove useless wrapping para tags via script 2026-01-26 15:32:38 +00:00
Mikhail Alferov
e50e797467 Remove extra space characters (GH-3737)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2024-09-12 23:37:42 +02:00
haszi
605553e228 Remove empty requirements pages (#3464)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-07 14:34:34 +01:00
Gina Peter Banyard
4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
Gina Peter Banyard
d4d5216e7a [skip-revcheck] Replace PHP_INI_* with INI_* constants
Performed via a bash script which can be found on PR GH-3140

Closes GH-3140

Co-authored-by: haszi <haszika80@gmail.com>
2024-01-26 14:00:36 +00:00
Máté Kocsis
14767af0f0 Use new class synopsis markup (#2611)
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +01:00
Pierrick Charron
cdc9d28d33 Replace <literal>true/false</literal> by their respective entities (#2399)
* Replace <literal>true/false</literal> by their respective entities

* Fixes
2023-04-03 17:29:55 -04:00
Máté Kocsis
6803b3c62d Generate various class synopses from stubs - part 1 (#1241) 2021-12-23 14:22:05 +01:00
Máté Kocsis
87fe85d824 [skip-revcheck] Generate ext/sysvsem class synopses from stubs (#1108) 2021-11-17 08:59:33 +01:00
Sergey Panteleev
2d99025327 [PHP 8.0] Add Semaphore opaque classes (#1020) 2021-10-13 19:19:36 +01:00
Christoph M. Becker
30fa70554d book.sem is actually about three modules
And ftok() is in ext/standard.  Might be reasonable to split the
documentation respectively.

Anyhow, sysvshm is supported on Windows at least as of PHP 7.0.0.
2021-07-19 14:27:45 +02:00
George Peter Banyard
fa2d2496e1 Refactor SEM constant page to use standard formating 2021-05-20 18:37:16 +01:00
Sergey Panteleev
184f3f7bd4 Remove PHP 5, 7 references (#565) 2021-05-12 14:49:16 +03:00
Christoph M. Becker
6dfe076725 xi:include INI settings documented elsewhere in ini.list
We do not xi:include core INI settings, since we want to keep
alphabetic sort order (well, roughly at least).

We do add xi:fallback elements to all xi:includes, just in case.
2021-02-24 17:58:20 +01:00
Yoshinari Takaoka
e56aaa041e Added PHP 8 into versions.xml for sysvsem based on stubs.
Closes GH-388.
2021-01-24 15:41:04 +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
b359f3f0d0 Document sysv* resources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351512 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 00:11:31 +00:00
Christoph Michael Becker
395ea247cf Generate sysvshm methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351510 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 23:49:25 +00:00
Christoph Michael Becker
f7e33278a9 Generate sysvmsn methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351509 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 23:22:27 +00:00
Christoph Michael Becker
105769eb55 Generate sysvsem methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351507 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 22:50:38 +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
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
54a343afdc Fix #71956: sem_get(0) creating an infinite amount of semaphores
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349425 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 15:33:40 +00:00
Joe Watkins
3bc212c744 --
Provided by anonymous 75058 (michal.brzuchalski@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347420 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 11:38:41 +00:00
Christoph Michael Becker
b3127b7d52 Fix #64832: use of "lowest" in $desiredmsgtype parameter description creates ambiguity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345635 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 17:40:48 +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
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
3ac72a29ba The $nowait parameter was added in 5.6.1, but docs were never updated. Fixes #68141.
-- 
Provided by anonymous 62063 (me@stephencoakley.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337493 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 00:32: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
Adam Harvey
483d4d578f Warn users of the buggy behaviour of sem_get() with non-PHP semaphores.
Fixes doc bug #66270 (sem_get() expects an already created pack of semaphores
to have 3 of them).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332354 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-12 18:36:18 +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
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
f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana
c0ade579d4 PHP_INI_* is in fact INI_
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +00:00
Jakub Vrana
b9c3ddd1d3 Use entities for INI headings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322061 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-11 08:09:53 +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
Peter Cowburn
d0ded87aaf initializer for perm param in shm_attach() (doc #54756)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311151 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 21:11:25 +00:00
Peter Cowburn
31619124fa intializers for msg_send() (doc #54755)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311150 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 21:05:54 +00:00
Peter Cowburn
5474843de6 add initializer for flags param in msg_receive() (doc #54754)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311149 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 21:01:14 +00:00
David Tajchreber
140520df70 Doc Bug #54753 - Missing default value in msg_get_queue prototype - added default value for perms in signature
http://lxr.php.net/opengrok/xref/PHP_5_3/ext/sysvmsg/sysvmsg.c#254

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311094 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-16 15:50:22 +00:00
Adam Harvey
d4f1a9fbc6 Fix doc bug #53835 (shm_put_var and SplStack).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307746 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-26 06:22:05 +00:00
Peter Cowburn
422eb63281 CS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304888 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:41:39 +00:00
Peter Cowburn
a912865116 Typos and grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304887 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:38:17 +00:00
Kalle Sommer Nielsen
9a06fcaef7 Fixed bug #51923 (Documentation does not mention changes to return type of shm_attach)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304639 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-23 06:30:25 +00:00
Kalle Sommer Nielsen
5095608825 Fixed bug #52635 (shm_put_var resorce destruction)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304523 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 02:09:28 +00:00
Adam Harvey
4efe5aed3d Fix doc bug #53055 (Typo on sem_remove page).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304383 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-14 02:47:31 +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