1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-27 17:24:06 +02:00
Commit Graph

150 Commits

Author SHA1 Message Date
Christoph M. Becker 42872b28a6 Fix GH-2108: http_build_query 3rd argument different results in PHP 7 vs 8 2022-12-23 13:22:16 +01:00
Christoph M. Becker 6ecb3d2522 Remove grossly outdated info (#1538)
It seems that line endings are handled in a style agnostic way by
`get_meta_tags()` for a long time now[1].  Thus, we drop the apparently
outdated info.

[1] <https://github.com/php/php-src/blob/60fffd296abce5fc071f3c173c25a2696cf683c6/ext/standard/file.c#L2442-L2445>
2022-04-22 17:05:25 +01:00
Christoph M. Becker 195fde0082 Fix GH-1421: A relic of old editing in manual page function.parse-url 2022-02-21 10:05:49 +01:00
Máté Kocsis a123b24db5 Fix some ext/standard param types (#1288) 2022-01-03 10:12:29 +01:00
Máté Kocsis a1702b5d45 Generate a few ext/standard methods synopses from stubs - part 2 (#1014) 2021-12-23 10:32:40 +01:00
Máté Kocsis 769812c12f Generate various ext/standard method synopses from stubs - part 5 (#1232) 2021-12-22 12:34:12 +01:00
Benjamin Morel 06116ee1bf Use lowercase null for consistency
Closes GH-1158.
2021-11-29 13:48:57 +01:00
Christoph M. Becker 57f4d8e58f Fix #81604: Parse_url wrong hostname detection 2021-11-11 13:01:03 +01:00
Kamil Tekiela 67dc0a5dfc Change int to bool (#999) 2021-10-05 21:39:20 +01:00
Kim Hallberg e09dd5b25a Fix http_build_query method signature (#922)
Closes #916
2021-10-05 10:56:08 +01:00
Christoph M. Becker 0254e633d2 Fix #80431: parse_url() return fragment, query while there is not 2021-09-24 18:46:45 +02:00
Christoph M. Becker e95ae8d94c Fix #74599: parse_url allows bad characters in the common name
We remove this sentence altogether, because the return values section
provides the correct info now (besides that "invalid" is not specific
enough, the replacement is done on the result, not on the input).
2021-09-24 18:16:24 +02:00
Christoph M. Becker 416b9e9bdb Fix #68296: \n in path with parse_url() converts to underscore 2021-09-24 17:56:13 +02:00
Maurício Meneghini Fauth 7a7ad98fe2 Document the null behaviour for http_build_query 2021-09-06 11:54:18 -03:00
Christoph M. Becker 22fa19e253 Clarify parse_url() behavior for invalid URLs
For invalid URLs, parse_url() may return nonsense – all bets are off.
2021-06-16 18:08:30 +02:00
Shyim 7c74b86d6d Update get_headers function methodsynopsis
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-622.
2021-05-23 12:57: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
Edgar ea70bbb2cb Update argument names of http_build_query()
See:
print_r((new \ReflectionFunction('http_build_query'))->getParameters());

Closes GH-443.
2021-02-17 12:22:28 +01:00
Yoshinari Takaoka 004ab8efdb Added PHP 8 into versions.xml for url based on stubs.
Closes GH-401.
2021-01-24 17:36:14 +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 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 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 9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Nikita Popov d0223d6121 base64_encode() has no failure conditions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345680 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-23 12:52:32 +00:00
Christoph Michael Becker e27bd5959a Fix typos
Patches provided by anonymous users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345458 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-13 10:21:58 +00:00
Christoph Michael Becker 5f71b72630 Fix return value description
Patch provided by anoymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344862 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 13:52:09 +00:00
Christoph Michael Becker 448d8b8f05 Document $context parameter and fix changelog order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344567 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 20:44:43 +00:00
Jakub Vrana 3cf9b6bdca Add changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344130 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 09:07:01 +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
Christoph Michael Becker 2e22e4d5b4 Fix contradiction
The function description says that partial URLs may work, but a note
says otherwise. We fix this contradiction, thereby integrating user 
note 116150.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343077 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-12 11:09:52 +00:00
Christoph Michael Becker 3dee3a504f Fixed bug #73975 (parse_url does not decode % escaping of username)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343075 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-12 10:58:12 +00:00
Pieter Hordijk 0c626e0127 Improved formatting of examples
-- 
Provided by anonymous 82137 (ekin@coproductivity.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342278 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-09 19:00:32 +00:00
Pieter Hordijk 35587e18d6 Changed wording of the strict param.
Fixes https://bugs.php.net/bug.php?id=74029

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342160 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-20 12:20:36 +00:00
Philip Olson c63e914a43 Removed dead function from SeeAlso, patch by leigh via the Online Editor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339174 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-16 19:45:28 +00:00
Pieter Hordijk c1fba37b82 Fixed param sentence
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338878 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-01 22:47:20 +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
Peter Cowburn 1b7d2330d7 add specifying a url constant to example (patch by Pasindu)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336512 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-13 14:21:16 +00:00
Peter Cowburn ad9c1e3fee describe url constants (patch by Pasindu)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336511 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-13 14:21:12 +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 afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Pieter Hordijk 432ee8de49 Reverted non supported relative URLs screwup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331015 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-24 19:30:05 +00:00
Pieter Hordijk a4fc5b9e3c As of 5.3.6 relative URLs are correctly parsed: updated changelog and removed note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331013 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-24 10:29:02 +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
Philip Olson ca6d8a6f45 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329875 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 17:54:38 +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