update : 2015.11.03
php.shukuma.com검색:
|
filter_input_array(PHP 5 >= 5.2.0, PHP 7) filter_input_array — Gets external variables and optionally filters them 설명This function is useful for retrieving many values without repetitively calling filter_input(). 인수
반환값
An array containing the values of the requested variables on success, or 예제
Example #1 A filter_input_array() example
<?php 위 예제의 출력: array(6) { ["product_id"]=> array(1) { [0]=> string(17) "libgd%3Cscript%3E" } ["component"]=> array(1) { [0]=> int(10) } ["versions"]=> array(1) { [0]=> string(6) "2.0.33" } ["doesnotexist"]=> NULL ["testscalar"]=> bool(false) ["testarray"]=> array(1) { [0]=> int(2) } } 변경점
주의
참고
|