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
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
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
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
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
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
Sherif Ramadan
7e6843088b
Fixed minor typo.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327647 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-14 02:06:36 +00:00
Sherif Ramadan
c616bd78da
Updated change log and added a new example to reflect behavior for host/scheme recognition fix.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327646 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-14 01:39:08 +00:00
Justin Martin
7885b223b0
Added RFC 3986 link to See Also.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322704 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-24 23:32:23 +00:00
Jakub Vrana
c1ba09cf2b
See also
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321823 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-06 09:47:38 +00:00
Justin Martin
292b9378f4
Added returns false on failure, fixing bug #55851 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317921 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-08 20:53:40 +00:00
Nikita Popov
684c0f0706
Add get_headers with HEAD example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316915 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 14:34:06 +00:00
Nikita Popov
7e4d17f8e1
Fix typo in get_headers docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316912 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 14:06:14 +00:00
Jakub Vrana
408baf1537
Trunk became PHP 5.4.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312690 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 13:41:29 +00:00
Peter Cowburn
a2fa37fa52
fixed enc_type changelog version for http_build_query (doc #54706 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310942 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-11 10:22:41 +00:00
Adam Harvey
1477d14987
Fix doc bug #53901 (parse_url() discards invalid port number).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308017 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-04 11:11:05 +00:00
Adam Harvey
6793ce50e7
Fix doc bug #53187 (urlencode and ~ encodes differently in the various versions
...
of the functions).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307773 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-26 23:55:03 +00:00
Adam Harvey
d641f0b28b
Fix build (the xlink namespace wasn't defined); fix indenting; rewrite the
...
description for the enc_type parameter to make it clearer.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307323 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-10 04:34:30 +00:00
Rui Hirokawa
475e63b089
added enc_type option to http_build_query.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307319 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-10 01:40:51 +00:00
Adam Harvey
b4fd230b17
Fixed doc bug #53371 (parse_url docs say it returns FALSE on malformed URLs. It
...
may return NULL.) by reworking the return values section of the parse_url()
manual page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305689 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 11:07:51 +00:00
Justin Martin
52d241c1e7
Updated urlencode to reflect changes to rawurlencode.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305141 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-07 01:49:04 +00:00
Justin Martin
a9a3ae6d6e
Updated to reflect RFC 3986, as per bug #53187 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305134 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-06 19:12:47 +00:00
Adam Harvey
1cfd7eabe8
Fix doc bug #52644 (parse_url doesn't emit an E_WARNING). Also added a full
...
stop to the other parse_url() change log entry, since I'm pedantic that way.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302525 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-20 05:34:58 +00:00