Back to index

php5  5.3.10
Variables
input_get_args.php File Reference

Go to the source code of this file.

Variables

 $data
 $args
 $myinputs = input_get_args($args, INPUT_DATA, $data)

Variable Documentation

$args
Initial value:
 array(
    'product_id'    => FILTER_SANITIZE_ENCODED,
    'component'     => array('filter'     => FILTER_VALIDATE_INT,
                                                  'flags'      => FILTER_FLAG_ARRAY,
                                                  'options'    => array("min_range"=>1, "max_range"=>10)
                                          ),

       
    'versions'      => array(
                            'filter' => FILTER_SANITIZE_ENCODED,
                            'flags'  => FILTER_FLAG_SCALAR,
                                                 ),
       'doesnotexist'       => FILTER_VALIDATE_INT,
       'testscalar'  => FILTER_VALIDATE_INT,
       'testarray'   => array(
                                                 'filter' => FILTER_VALIDATE_INT,
                                                 'flags'  => FILTER_FLAG_ARRAY,
                                          )

)

Definition at line 11 of file input_get_args.php.

$data
Initial value:
 array(
    'product_id'     => 'product id<script>',
    'component'             => '10',
    'versions'              => '1.2.33',
       'testscalar'  => array('2','23','10','12'),
       'testarray'          => '2',
)

Definition at line 3 of file input_get_args.php.

$myinputs = input_get_args($args, INPUT_DATA, $data)

Definition at line 38 of file input_get_args.php.