cvs: phpdoc /en/reference/filter/functions filter-var-array.xml
| From: | Hannes Magnusson | Date: | Sat, 06 Jan 2007 16:35:12 +0000 |
| Subject: | cvs: phpdoc /en/reference/filter/functions filter-var-array.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969374687@lists.php.net to get a copy of this message | ||
bjori Sat Jan 6 16:35:12 2007 UTC
Modified files:
/phpdoc/en/reference/filter/functions filter-var-array.xml
Log:
Fix constants
#phptgenerator...
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filter/functions/filter-var-array.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/filter/functions/filter-var-array.xml
diff -u phpdoc/en/reference/filter/functions/filter-var-array.xml:1.5
phpdoc/en/reference/filter/functions/filter-var-array.xml:1.6
--- phpdoc/en/reference/filter/functions/filter-var-array.xml:1.5 Mon Nov 13 15:11:27 2006
+++ phpdoc/en/reference/filter/functions/filter-var-array.xml Sat Jan 6 16:35:11 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.filter-var-array">
<refnamediv>
<refname>filter_var_array</refname>
@@ -82,18 +82,18 @@
$args = array(
'product_id' => FILTER_SANITIZE_ENCODED,
'component' => array('filter' => FILTER_VALIDATE_INT,
- 'flags' => FILTER_FLAG_ARRAY,
+ 'flags' => FILTER_FORCE_ARRAY,
'options' => array('min_range' => 1,
'max_range' => 10)
),
'versions' => FILTER_SANITIZE_ENCODED,
'doesnotexist' => FILTER_VALIDATE_INT,
'testscalar' => array(
'filter' => FILTER_VALIDATE_INT,
- 'flags' => FILTER_FLAG_SCALAR,
+ 'flags' => FILTER_REQUIRE_SCALAR,
),
'testarray' => array(
'filter' => FILTER_VALIDATE_INT,
- 'flags' => FILTER_FLAG_ARRAY,
+ 'flags' => FILTER_FORCE_ARRAY,
)
);