Liam Duckett
e80ef2394f
Document PHP 8.4.0 change to http_build_query() in relation to BackedEnums ( #4988 )
...
Explain that `http_build_query()` didn't convert BackedEnums to their scalar equilvalents, and instead converted them to objects.
2025-11-10 03:10:37 +00:00
Mikhail Alferov
4266e03897
Update parse-url.xml Add the literal tag for the URL scheme (GH-3844)
...
* Update parse-url.xml Add the `literal` tag for the URL scheme
* Update parse-url.xml Add the `literal tag to the `file://` scheme
2024-10-07 11:44:16 +02:00
Christoph M. Becker
72605fc9de
Move the parse_url() caution up to description section (GH-3834)
...
This information is apparently not widely known, so we put it in a
more prominent place.
2024-10-05 19:19:56 +02:00
Mikhail Alferov
bd8aef3520
book.xml Add the titleabbrev tag for correct translation to other lang (GH-3748)
2024-09-15 17:37:34 +02: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
57d1b0df36
Remove empty installation pages ( #3462 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-06-21 02:38:44 +01:00
Viktor Khonin
943c1285bd
Fix example of get_headers() usage with context ( #2851 )
...
Function get_headers() called with wrong signature in example of usage with context.
Add missing $associative argument.
2023-10-14 19:31:32 +01:00
Wade Rossmann
06791a63aa
Update get_headers example to not change the default HTTP stream context. ( #2548 )
...
Update example 2 to not change the default HTTP stream context.
2023-08-12 14:10:11 +01:00
Nathan Gibbs
767338231c
Improve examples for urlencode() ( #2552 )
2023-07-03 14:45:03 +01:00
Tiffany
c1413dcaa8
Update phrasing for consistency with dynamically generated text
2023-05-31 16:38:18 -05:00
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] <60fffd296a/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