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
Drak
8fcc7d5c81
Added warning about making assumptions on the protocol with FILTER_VALIDATE_URL
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327158 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-17 19:46:54 +00:00
Hannes Magnusson
858cacd62c
mark bunch of extensions with "membership" PI (like the membership comment)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Jakub Vrana
5faa7a6747
Document and use callable type hint introduced in PHP 5.4
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:55:59 +00:00
Jakub Vrana
f052ac1bd7
Revert useless change in 326638
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana
c0ade579d4
PHP_INI_* is in fact INI_
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +00:00
Jakub Vrana
4de5cce5d8
Linkable reference constants
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +00:00
Adam Harvey
1bd6f13516
Fix the build breakage wrought by r323371.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323397 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-21 00:48:17 +00:00
Rasmus Lerdorf
cd7ec56790
Litter the filter docs with the full_special_chars, flags=0 example
...
to drive home the fact that you need to watch your default flags
carefully when using any of the filters as a default filter.
Doc team, please double-check my docbook-foo here.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323371 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-20 09:27:48 +00:00
Justin Martin
b3445eefdd
Cleaned up example.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322557 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-22 00:18:10 +00:00