Christoph M. Becker
aa471e2d84
filter.default is deprecated as of PHP 8.1.0
2022-05-12 13:46:53 +02:00
Kamil Tekiela
d83aa96e67
PHP 8.1: FILTER_SANITIZE_STRING is deprecated ( #1193 )
2021-12-10 14:25:58 +00:00
Christoph M. Becker
32cd7f679d
FILTER_FLAG_(SCHEME|HOST)_REQUIRED are removed as of PHP 8.0.0
2021-12-10 14:47:50 +01:00
Kamil Tekiela
de9c65c91f
Remove E_STRICT and other PHP 5 related information ( #730 )
2021-08-17 17:56:25 +01:00
Christoph M. Becker
5be3a93cfd
Fix #71282 : Documentation is invalid for FILTER_VALIDATE_EMAIL
...
This is still not accurate, but there are other related doc bug reports
like #78958 , so we can address further issues separately. Also, we may
want to choose something else than a table for display purposes.
2021-08-05 19:26:02 +02:00
Christoph M. Becker
3d85246557
Fix #77217 : FILTER_FLAG_NO_RES_RANGE means Reserved-By-Protocol
2021-08-05 19:03:06 +02:00
Florian Engelhardt
35c2cd3ad9
Update FILTER_NULL_ON_FAILURE usage
...
Closes GH-679.
2021-06-10 12:30:17 +02:00
Florian Engelhardt
f267b24e35
Add FILTER_VALIDATE_BOOL
alias to docs
...
Closes GH-676.
2021-06-09 16:11:06 +02:00
George Peter Banyard
cbac1ecf71
Fix lone section order issues in various extensions
...
Part of #658
2021-06-06 18:03:03 +01:00
Kamil Tekiela
b80314ffbb
Remove PHP 5 from filter extension ( #531 )
...
* Update changelog
* Remove para from Overview
* Remove available from
* Remove paragraph about +0/-0
* Remove changelog entries
2021-04-19 12:15:48 +02:00
Yoshinari Takaoka
30ac3684e1
added missing constant tag.
2021-04-19 18:10:41 +09:00
Kamil Tekiela
92d0f8b9af
Add FILTER_SANITIZE_ADD_SLASHES ( #532 )
2021-04-19 10:30:47 +02:00
Kamil Tekiela
2693fe9dd2
HTML-escape -> HTML-encode
2021-04-18 17:03:05 +01:00
ctcq
41fde0caa4
Add note to FILTER_SANITIZE_STRING for encoding quotes ( #530 )
...
Co-authored-by: Christopher Wiedey <c_wied05@uni-muenster.de>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-04-16 15:52:30 +01: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
02a5d397cc
Added PHP 8 into versions.xml for filter based on stubs.
...
Closes GH-415.
2021-01-25 19:08:20 +01:00
George Peter Banyard
06e8e34994
Fix/add missing PHP 7.x-filter
...
Closes GH-294.
2020-12-30 18:51:32 +01:00
Christoph Michael Becker
6e4ac10da6
Generate filter methodsynopses based on stubs
...
Patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351418 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 23:11:14 +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
80872147aa
Get rid of "callback" types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350788 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 09:11:05 +00:00
Christoph Michael Becker
3e15d2894f
Remove more changelog entries, mostly from PHP 5.4 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
03b1aa3fff
Filter: add missing constants
...
Add a number of constants missing from the Predefined Constants page of the Filter extension.
Patch provided by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349855 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-13 06:55:46 +00:00
Christoph Michael Becker
f751e752d7
Fix #79328 : Typo in filter.filters.validate documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349272 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-01 16:30:42 +00:00
Christoph Michael Becker
97666ff44e
Fix #78959 : FILTER_VALIDATE_FLOAT supports min_range in php >= 7.4.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348513 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-14 17:34:43 +00:00
Christoph Michael Becker
17b20a8185
Fix typo
...
Inspired by a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347682 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-30 09:32:28 +00:00
Christoph Michael Becker
34f0642cfb
Revert revision(s) 345758:
...
Added 7.3.0 deprecation notice for FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED
........
Cf. <http://news.php.net/php.doc.cvs/16279 >
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346911 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-26 16:34:09 +00:00
Pasindu De Silva
0d988413b0
Added 7.3.0 deprecation notice for FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345758 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 16:46:19 +00:00
Christoph Michael Becker
a88a42497f
Fix #76734 : Parameter type cannot be limited to scalar with FILTER_CALLBACK
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345461 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-13 11:42:23 +00:00
Christoph Michael Becker
45e81f18d7
FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED are deprecated
...
Cf. <https://wiki.php.net/rfc/deprecations_php_7_3#filter_flag_scheme_required_and_filter_flag_host_required >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345341 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-17 11:17:06 +00:00
Christoph Michael Becker
97cb66b3f2
Amend r344963: re-align arrays
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344967 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-06 15:51:41 +00:00
Christoph Michael Becker
dc157b93cd
Fix #42608 : Example 660 (filter_input_array) is wrong
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344963 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-05 16:24:41 +00:00
Christoph Michael Becker
dff279a1fb
Fix #76259 : Sessions extension does not strictly match Core extention definition
...
We update the extension-membership of the respective extensions,
and fix the installation instructions where necessary.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344870 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 16:42:29 +00:00
Christoph Michael Becker
7d89c558b5
Add missing changelog entry
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344652 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-11 16:40:05 +00:00
Pieter Hordijk
7e14523d4e
A parameter (FILTER_VALIDATE_DOMAIN) was added to filter_var in 2014 but never documented. This attempts to document it according to the notes on the original PR 826: https://github.com/php/php-src/pull/826
...
Fixes #72013
--
Provided by anonymous 90461 (kevin.boyd@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344641 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-09 10:32:29 +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
Peter Cowburn
247c617b3d
Update validation examples to hopefully be more clear
...
Based on a patch by an anonymous online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343433 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-20 20:39:31 +00:00
Christoph Michael Becker
8ac7e3e35e
Fix bug #75442 : SCHEME and HOST VALIDATE_URL constants are not actually used
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343324 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-28 15:40:59 +00:00
Christoph Michael Becker
9bcd1cac2c
Integrate user note 120944
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342627 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-30 16:16:05 +00:00
Christoph Michael Becker
574cadefb5
Clarify example
...
Apparently, some users have a hard time to understand this example,
and submitted incorrect patches via PhDOE, so we clarify.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341236 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-30 12:12:48 +00:00
Christoph Michael Becker
6d0118397d
Fix #66553 : FILTER_VALIDATE_EMAIL does not accept user@host addresses
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341094 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-21 17:28:09 +00:00
Christoph Michael Becker
3b7a607f8b
Document FILTER_FLAG_EMAIL_UNICODE
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341093 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-21 17:25:49 +00:00
Christoph Michael Becker
318a3d5aa3
Fix wrong example output
...
This also integrates user note 99462.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340641 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-24 22:20:25 +00:00
Christoph Michael Becker
099acb2637
Fix #72104 : FILTER_FLAG_NO_RES_RANGE applies to IPv6 addresses too
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340005 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-08 12:03:14 +00:00
Christoph Michael Becker
ccc7e39bcc
Update FILTER_FLAG_NO_(RES|PRIV)_RANGE docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340004 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-08 11:42:36 +00:00
Christoph Michael Becker
385badd002
Fix #66938 : ext/filter misses some constants in documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339498 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 23:08:19 +00:00
Christoph Michael Becker
e5f52bed94
Fix #72490 : FILTER_VALIDATE_INT: unexpected result for bool and float
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339488 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 11:41:33 +00:00
Christoph Michael Becker
5a8a3c027c
fixed #71405 : Some constants are not documented
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338526 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-19 19:27:48 +00:00
Maciej Sobaczewski
92bff06867
Update bunch of versions.xml for PHP 7
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337985 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 07:06:29 +00:00
Christoph Michael Becker
27427a8ec0
clarified converting behavior of FILTER_VALIDATE_(FLOAT|INT) ( fixes #69226 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337683 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-31 23:09:47 +00:00
Christoph Michael Becker
e80099d3c7
As of PHP 5.5.11/5.3.1 FILTER_SANITIZE_EMAIL removes slashes (see #70298 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337553 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-19 13:40:07 +00:00