Commit graph

145 commits

Author SHA1 Message Date
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
Christoph Michael Becker
c5c902b477 minor fixes contributed by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337282 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-03 22:37:52 +00:00
Peter Cowburn
5cc2d1edfb default filter is unsafe_raw (doc bug #69762)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336878 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-05 21:04:02 +00:00
Peter Cowburn
95cd5ed681 Use <literal>, not <parameter> (patch by cmb)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336763 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 07:57:21 +00:00
Peter Cowburn
462ee812a4 add FILTER_VALIDATE_MAC (patch by Lorna jame Mitchell)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336648 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-24 10:27:14 +00:00
Adam Harvey
4be6fbeb69 Expand on what FILTER_VALIDATE_EMAIL really validates.
See also bug #69140 (FILTER_VALIDATE_EMAIL not RFC 822 compliant).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336016 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-27 20:50:02 +00:00
Hannes Magnusson
35b9833b75 Remove unused column!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335982 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-23 22:41:06 +00:00
Adam Harvey
0b93d1fa3a Better document FILTER_DEFAULT.
Fixes doc bug #68245 (filter_input does not document FILTER_DEFAULT).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335127 c90b9560-bf6c-de11-be94-00142212c4b1
2014-10-23 19:41:54 +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
Kalle Sommer Nielsen
d353c6215d Clarify this example a bit more (Re bug #66063)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332134 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-16 23:21:21 +00:00
Jeff Welch
e48b67c078 #66063 Make output from first filter example consistent with other filter examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332088 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-09 05:10:50 +00:00
Sherif Ramadan
94ccd50745 Fix long line width from Revision #332062
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332063 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-04 12:29:05 +00:00
Sherif Ramadan
4181af42b3 Update note for +/-0 change using FILTER_VALIDATE_INT.
Patch by Frank Liepert trainmaster@gmx.net


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332062 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-04 11:42:48 +00:00
Yasuo Ohgaki
4578e8ab04 Doc Bug 64205 Option 'default' not documented for Filter Functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331940 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-24 06:16:22 +00:00
Yannick Torres
33040b3b1b Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-16 09:25:19 +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
Jakub Vrana
f0d05b38c3 Document PHP 5.4 parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330268 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 07:18:10 +00:00