mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Amend r344963: re-align arrays
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344967 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
dec50f0b7c
commit
97cb66b3f2
1 changed files with 6 additions and 6 deletions
|
@ -92,11 +92,11 @@
|
|||
error_reporting(E_ALL | E_STRICT);
|
||||
/* data actually came from POST
|
||||
$_POST = array(
|
||||
'product_id' => 'libgd<script>',
|
||||
'component' => array('10'),
|
||||
'version' => '2.0.33',
|
||||
'testarray' => array('2', '23', '10', '12'),
|
||||
'testscalar' => '2',
|
||||
'product_id' => 'libgd<script>',
|
||||
'component' => array('10'),
|
||||
'version' => '2.0.33',
|
||||
'testarray' => array('2', '23', '10', '12'),
|
||||
'testscalar' => '2',
|
||||
);
|
||||
*/
|
||||
|
||||
|
@ -106,7 +106,7 @@ $args = array(
|
|||
'flags' => FILTER_REQUIRE_ARRAY,
|
||||
'options' => array('min_range' => 1, 'max_range' => 10)
|
||||
),
|
||||
'version' => FILTER_SANITIZE_ENCODED,
|
||||
'version' => FILTER_SANITIZE_ENCODED,
|
||||
'doesnotexist' => FILTER_VALIDATE_INT,
|
||||
'testscalar' => array(
|
||||
'filter' => FILTER_VALIDATE_INT,
|
||||
|
|
Loading…
Reference in a new issue