|
update : 2015.11.03
php.shukuma.com검색:
|
get_resources(PHP 7) get_resources — Returns active resources 설명
array get_resources
([ string
$type
] )Returns an array of all currently active resources, optionally filtered by resource type. 인수
반환값Returns an array of currently active resources, indexed by resource number. 예제
Example #1 Unfiltered get_resources()
<?php위 예제의 출력 예시:
array(1) {
[1]=>
resource(1) of type (stream)
}
Example #2 Filtered get_resources()
<?php위 예제의 출력 예시:
array(1) {
[1]=>
resource(1) of type (stream)
}
array(0) {
}
참고
|